topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 8:02 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sukhjinder [ switch to compact view ]

Pages: [1]
1
I have a Form with a Panel mainBackPanel. To mainBackPanel I add different panels say redPanel, greenPanel, bluePanel depending on key pressed, r, g, b respectively. Each panel has a different image (say tomatoes, trees, sky) and a transparent label.

Now when the panel changes, I see a small flicker on the area covered by the label.

mainBackPanel (to which the individual panels are added) is double buffered.

All KeyEvents are being handled by MainForm in the following method

void mainFormKeyUpHandler(Object o, KeyEventArgs kev)
{   
   if( kev.KeyCode == Keys.R )
   {
         this.mainBackPanel.Controls.Clear();
         this.mainBackPanel.SuspendLayout();
         this.mainBackPanel.Controls.Add(this.mainFormPanel);                               this.mainBackPanel.ResumeLayout();   
   }   
   else
   .
   .
   .
}


The code, in .NET 2.0, can be found here.

You will need to put 3 image files namely fb.jpg, mf.jpg and pl.jpg in bin/debug folder prior to running the app.

Please suggest how to get rid of the flicker.

Thanks
Sukhjinder

2
Developer's Corner / Help required in coding Media Player
« on: April 28, 2008, 05:44 AM »
Hello There!!!
I need help for my OpenSource Media Player LetsYo.

filebrowsersmall.gif

More Screenshots

Main Features
+ File Browser

+ Time Seek Control (Seek to Exact in Time hh:mm:ss)

+ View All Embedded Images in Media Files in FullScreen

+ Auto Resume of long files from last saved position (Useful for movies, audio books, etc)

+ Media Library (Select Media Based on Artist, Genre, Album, Videos, Rating)

+ Auto/Manual Media Library Update(Add new files, Remove missing files, Update changed files)

+ Easy Look Customisation (Change Colors, Fonts, Shadows, Background Images, etc)

+ Playlist (Add, Remove, Clear)

LetsYo gets about 30 - 40 downloads per day.

Help required in
+ Coding in C#. You can help by writing small text parsers, Graphic & UI code and some general coding.

+ Directshow. I need help in adding features like Equaliser, Crossfading, Continuous playback using multigraphs with GMFBridge.

+ Writing Help File/User Manual

+ Testing and suggesting improvements.

Please PM me for any more information or clarification.

Thanks
Sukhjinder

Thanks Mouser for moving it to the right section...

3
Developer's Corner / Remove Flicker from Splash Screen
« on: March 28, 2008, 02:52 AM »
Creating Spalsh Screen from an Image in C#

Hi I need to create a Splash Screen from an Image file. The Splash Screen form should be of the same dimensions as the image file. The program should hide the Splash Screen when my MainForm is displayed.

Here is what I'm doing

class SplashScreen : Form
   {
      Image splashImage;
      public SplashScreen()
      {
         
         this.TopMost = true;
         this.ShowInTaskbar = false;
         this.FormBorderStyle = FormBorderStyle.None;
         this.StartPosition = FormStartPosition.CenterScreen;
         
         this.BackColor = this.TransparencyKey = Color.White;
         Image img = Bitmap.FromFile("splash.png");
         Bitmap b = new Bitmap(img);
         b.MakeTransparent(b.GetPixel(1,1));
         this.BackgroundImage = splashImage = (Image) b;
         this.Size = this.splashImage.Size;
      }
   }
class MainForm : Form
{
   public static void main(String[] args)
   {
      // Some Code
      SplashScreen splash = new SplashScreen();
      splash.Show();
         
      MainForm mainForm = new MainForm();
         
      mainForm.Shown += delegate(object o, EventArgs ev)
      {
         splash.Hide();      //Hide and Dispose the Splash Form When mainForm is shown for the first Time
         splash.Dispose();
         mainForm.GetFocus();
      };
      // More Code
   }
}

The Splash Image to be used can be downloaded from http://sukhjinder.cn/splash.png

With the above code I do get the splash screen and the behaviour as expected but before the splash screen is drawn I see a Black Rectangle flashing, with same dimensions as the splash image.

Please suggest. If you have a different approach please go ahead. All I want is to see a nice Splash Screen

Thanks
Sukhjinder
http://sukhjinder.cn/

4
Hi, I'm Looking for a Free software which can make any Top Level Window Ghost(Clickthrough).
I've tried GhostIt!. Though being a nice Software it has no option to set the transparencey level of individual Ghost window. If I have 2 Ghost Windows then Both have the Same Transparency Levels, which is kind of annoying.

I have tried Making my Windows Ghost using Ghost it and Adjusting Transparency levels using PowerMenu (v 1.5.1). on doing so the Windows lose their Ghost Property.

Please do let me know of the options I may use.

Thanks...

5


I am running a program say Wordpad.
Is is available on the Taskbar as Wordpad Button
I want a software which removes Wordpad Button from Taskbar and puts it in the system tray

BUT a Big Big But Here...

The Wordpad should not be minimised to the System tray.

I should be able to continue working on the Wordpad with its Taskbar Button Removed and icon available in the system tray.

The Idea is to remove the button from the taskbar while still being able to work on the application.

Similar Feature is available in Winamp. (see Image Above)

A Discussion is Available at
http://www.shellcity...ic.php?p=36062#36062

A Big Thanks to All the People who are Putting in their input

Pages: [1]