popupcontrol and setting the color |
Post Reply |
Author | |
Gutauckis
Newbie Joined: 06 December 2004 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 21 July 2005 at 6:17pm |
I am trying to set the background color of a popupcontrolitem to the VB
system defined constant vbActiveTitleBar. However whatever direction I
take it always comes out the wrong color. Anybody want to tell me what
I am doing wrong....?
I have tried converting the value to the RGB values and using them but that doesnt work. I have tried simply pasting the long value in the background parameter place, but that doesnt work... ???? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Workaround Private Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long Debug.Print GetSysColor(vbActiveTitleBar And Not &H80000000) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |