Click here to Skip to main content
15,901,833 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I change the background color on a date/time picker? Pin
DanYELL12-Aug-02 4:03
DanYELL12-Aug-02 4:03 
AnswerRe: How can I change the background color on a date/time picker? Pin
Ranjan Banerji12-Aug-02 6:26
Ranjan Banerji12-Aug-02 6:26 
GeneralGetting the Exact Time (in ms) Pin
LittleYellowBird12-Aug-02 3:18
LittleYellowBird12-Aug-02 3:18 
GeneralRe: Getting the Exact Time (in ms) Pin
Tomasz Sowinski12-Aug-02 3:30
Tomasz Sowinski12-Aug-02 3:30 
GeneralCustom control based on dialog Pin
Wim Jans12-Aug-02 3:12
Wim Jans12-Aug-02 3:12 
GeneralRe: Custom control based on dialog Pin
Tomasz Sowinski12-Aug-02 3:15
Tomasz Sowinski12-Aug-02 3:15 
GeneralRe: Custom control based on dialog Pin
Wim Jans12-Aug-02 5:35
Wim Jans12-Aug-02 5:35 
Generalproblem with propertysheetex Pin
toon12-Aug-02 2:58
toon12-Aug-02 2:58 
Hi.
I am trying to create a wizard-style property sheet.
I want to add header & watermark images to it.
The header gets displayed, but the watermark does not appear.
Here is the piece of code.
HBITMAP hbm1, hbm2;
hbm1 = LoadBitmap(::AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_BMP1));
hbm2 = LoadBitmap(::AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_BMP2));

m_ps.Construct("Options", NULL, 0, hbm1, NULL, hbm2);

m_ps.m_psh.dwFlags |= (PSH_WIZARD97 | PSH_WATERMARK
| PSH_USEHBMWATERMARK | PSH_STRETCHWATERMARK
| PSH_WIZARDCONTEXTHELP | PSH_HASHELP
| PSH_HEADER | PSH_USEHBMHEADER);

I tried various combinations of the flags, but the watermark image is not getting displayed. Confused | :confused:
Does this require some change to the property pages?
ALso, I am unable to add header title/subtitle.
I use VC++ 6.0
Can somebody guide me?
Thanks.

Logic is a systematic method of coming to the wrong conclusion with
confidence.
GeneralAccess Database mysteries in VC++... Pin
Anonymous12-Aug-02 2:57
Anonymous12-Aug-02 2:57 
GeneralRe: Access Database mysteries in VC++... Pin
Stefan Pedersen12-Aug-02 3:21
Stefan Pedersen12-Aug-02 3:21 
GeneralRe: Access Database mysteries in VC++... Pin
Anonymous12-Aug-02 3:23
Anonymous12-Aug-02 3:23 
GeneralRe: Access Database mysteries in VC++... Pin
pépé12-Aug-02 21:57
pépé12-Aug-02 21:57 
GeneralReBars (urgent) Pin
Space Ace12-Aug-02 2:55
Space Ace12-Aug-02 2:55 
GeneralRe: ReBars (urgent) Pin
Tomasz Sowinski12-Aug-02 3:02
Tomasz Sowinski12-Aug-02 3:02 
GeneralRe: ReBars (urgent) Pin
Shog912-Aug-02 3:07
sitebuilderShog912-Aug-02 3:07 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 3:26
Space Ace12-Aug-02 3:26 
GeneralRe: ReBars (urgent) Pin
Shog912-Aug-02 7:25
sitebuilderShog912-Aug-02 7:25 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 9:27
Space Ace12-Aug-02 9:27 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 7:05
Space Ace12-Aug-02 7:05 
GeneralHelp with Combo boxes Pin
Luis E. Cuadrado12-Aug-02 2:18
Luis E. Cuadrado12-Aug-02 2:18 
GeneralRe: Help with Combo boxes Pin
Tomasz Sowinski12-Aug-02 2:39
Tomasz Sowinski12-Aug-02 2:39 
GeneralRe: Help with Combo boxes Pin
Mike Upton12-Aug-02 2:41
Mike Upton12-Aug-02 2:41 
GeneralRe: Help with Combo boxes Pin
Luis E. Cuadrado12-Aug-02 4:25
Luis E. Cuadrado12-Aug-02 4:25 
GeneralRe: Help with Combo boxes Pin
Tomasz Sowinski12-Aug-02 4:45
Tomasz Sowinski12-Aug-02 4:45 
GeneralCWnd::FromHandlePermanent Pin
Nish Nishant12-Aug-02 1:39
sitebuilderNish Nishant12-Aug-02 1:39 

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.