Click here to Skip to main content
15,891,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsynclock problem Pin
blucas20057-Mar-06 21:12
blucas20057-Mar-06 21:12 
AnswerRe: synclock problem Pin
Dave Kreskowiak8-Mar-06 4:42
mveDave Kreskowiak8-Mar-06 4:42 
QuestionRemote task manager Pin
x86phre3x7-Mar-06 20:34
x86phre3x7-Mar-06 20:34 
AnswerRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 0:37
mveDave Kreskowiak8-Mar-06 0:37 
GeneralRe: Remote task manager Pin
x86phre3x8-Mar-06 3:50
x86phre3x8-Mar-06 3:50 
GeneralRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 4:31
mveDave Kreskowiak8-Mar-06 4:31 
QuestionChange VB form Color Pin
V.Sugan7-Mar-06 20:20
V.Sugan7-Mar-06 20:20 
AnswerRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 0:32
mveDave Kreskowiak8-Mar-06 0:32 
V.Sugan wrote:
Is there any WIN32 API function or any other Visual Basic function which gets the form handle and changes the color of the form.


No, not the way your describing. You can get the handle of the Form's window from the Form's hWnd property. But, there is no function to change the Form's color using that handle, or anything else. Each element is repsonsible for its own color.


V.Sugan wrote:
Just setting form.backcolor does not help as they do not change the color of other controls and menus


Of course not! You have to change the colors of the controls yourself.

The menus on the forms, by design, follow the colors layed out in the Display Control Panel. If you want to change them, you'll have to owner-draw the menus. You can find out more abou this from Google[^].

As for the controls, if you didn't specify a ForeColor or BackColor, they'll use default values. If they don't have BackColor and/or ForeColor properties, they'll use the colors specified in the Desktop Control Panel.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Change VB form Color Pin
Tank528-Mar-06 15:06
Tank528-Mar-06 15:06 
GeneralRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 16:01
mveDave Kreskowiak8-Mar-06 16:01 
QuestionTrue DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 16:35
noshaba mariam7-Mar-06 16:35 
AnswerRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak7-Mar-06 17:24
mveDave Kreskowiak7-Mar-06 17:24 
GeneralRe: True DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 23:05
noshaba mariam7-Mar-06 23:05 
GeneralRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak8-Mar-06 0:23
mveDave Kreskowiak8-Mar-06 0:23 
Questioninserting image in sql server 2000 Pin
uglyeyes7-Mar-06 13:05
uglyeyes7-Mar-06 13:05 
AnswerRe: inserting image in sql server 2000 Pin
Steve Pullan7-Mar-06 13:41
Steve Pullan7-Mar-06 13:41 
GeneralRe: inserting image in sql server 2000 Pin
uglyeyes7-Mar-06 17:30
uglyeyes7-Mar-06 17:30 
Questionmultiple web chart in a data repeater. Pin
uglyeyes7-Mar-06 11:51
uglyeyes7-Mar-06 11:51 
AnswerRe: multiple web chart in a data repeater. Pin
Dave Kreskowiak7-Mar-06 13:53
mveDave Kreskowiak7-Mar-06 13:53 
QuestionDatagrid custom columnstyle problem Pin
David M J7-Mar-06 11:48
David M J7-Mar-06 11:48 
QuestionCustom .NET control and collection persistence Pin
rhorc7-Mar-06 11:40
rhorc7-Mar-06 11:40 
QuestionClosing Main Form Pin
jdjd11187-Mar-06 7:24
jdjd11187-Mar-06 7:24 
AnswerRe: Closing Main Form Pin
Chatura Dilan7-Mar-06 14:19
Chatura Dilan7-Mar-06 14:19 
QuestionDatabase Replication Pin
jdjd11187-Mar-06 7:21
jdjd11187-Mar-06 7:21 
AnswerRe: Database Replication Pin
Steve Pullan7-Mar-06 11:12
Steve Pullan7-Mar-06 11:12 

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.