Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: winforms question Pin
Josh Smith31-May-06 6:00
Josh Smith31-May-06 6:00 
GeneralRe: winforms question [modified] Pin
Dustin Metzgar31-May-06 6:30
Dustin Metzgar31-May-06 6:30 
GeneralRe: winforms question [modified] Pin
batmike200031-May-06 20:25
batmike200031-May-06 20:25 
GeneralRe: winforms question [modified] Pin
batmike20002-Jun-06 0:00
batmike20002-Jun-06 0:00 
GeneralRe: winforms question [modified] Pin
Dustin Metzgar2-Jun-06 1:46
Dustin Metzgar2-Jun-06 1:46 
Questiondatagridview comboboxcolumn Pin
kjosh31-May-06 3:33
kjosh31-May-06 3:33 
QuestionHas anyone ever y used the DTE object? Pin
Ista31-May-06 3:33
Ista31-May-06 3:33 
QuestionChange StatusBar backColor Pin
Darren_31-May-06 3:10
Darren_31-May-06 3:10 
I know the StatusBar does not have the backColor property associated with it so i was trying to change the colour through an API call. However my code does not seem to work even though many people have managed to do it. Am i doing something wrong here? Any help would be appreciated.

using System.Runtime.InteropServices;

[DllImport("User32.dll")]
public extern static void SendMessage(IntPtr hWnd, int msg, int wParam, int lParam);

public void ChangeStatusBarColour(System.Windows.Forms.StatusBar sbar, int color)
{
int CCM_FIRST = 0x2000;
int SB_SETBKCOLOR = (CCM_FIRST + 1);
SendMessage(sbar.Handle, SB_SETBKCOLOR, 0, color);
}

And in my derived StatusBar class i have this call to the previous object:

manipStatus.ChangeStatusBarColour(this, 10929647);

thanks in advance.





AnswerRe: Change StatusBar backColor Pin
stancrm31-May-06 3:53
stancrm31-May-06 3:53 
GeneralRe: Change StatusBar backColor Pin
Darren_31-May-06 13:54
Darren_31-May-06 13:54 
QuestionHow to off WebBrowser SCRIPT ERROR message? Pin
Dima Filipiuk31-May-06 3:04
Dima Filipiuk31-May-06 3:04 
QuestionnGen Pin
subburaj.sabapathy31-May-06 2:25
subburaj.sabapathy31-May-06 2:25 
AnswerRe: nGen Pin
Guffa31-May-06 2:51
Guffa31-May-06 2:51 
QuestionUrgent.... Pin
compdesign31-May-06 2:22
compdesign31-May-06 2:22 
AnswerRe: Urgent.... Pin
stancrm31-May-06 2:28
stancrm31-May-06 2:28 
QuestionRecognize Managed DLL from Unmanaged ! Pin
User 209307331-May-06 2:08
User 209307331-May-06 2:08 
AnswerRe: Recognize Managed DLL from Unmanaged ! Pin
S. Senthil Kumar31-May-06 6:14
S. Senthil Kumar31-May-06 6:14 
GeneralRe: Recognize Managed DLL from Unmanaged ! Pin
User 209307331-May-06 19:17
User 209307331-May-06 19:17 
QuestionorlRegarding Crystal Reports Pin
A.Grover31-May-06 1:47
A.Grover31-May-06 1:47 
QuestionIMP(convert Hexadecimal to string) Pin
singhswat31-May-06 1:25
singhswat31-May-06 1:25 
QuestionIMP(convert Hexadecimal to string) Pin
singhswat31-May-06 1:25
singhswat31-May-06 1:25 
AnswerRe: IMP(convert Hexadecimal to string) [modified] Pin
stancrm31-May-06 1:42
stancrm31-May-06 1:42 
AnswerRe: IMP(convert Hexadecimal to string) [modified] Pin
leppie31-May-06 2:07
leppie31-May-06 2:07 
QuestionHow to Inject Code process ? Pin
hdv21231-May-06 1:11
hdv21231-May-06 1:11 
AnswerRe: How to Inject Code process ? Pin
Larantz31-May-06 1:14
Larantz31-May-06 1:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.