Click here to Skip to main content
15,897,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS 2003 overrun checking not working Pin
Mike Dimmick7-Jul-03 22:50
Mike Dimmick7-Jul-03 22:50 
GeneralRe: VS 2003 overrun checking not working Pin
ed welch8-Jul-03 21:27
ed welch8-Jul-03 21:27 
GeneralDeciphering memory leak dump Pin
paulb6-Jul-03 20:39
paulb6-Jul-03 20:39 
GeneralRe: Deciphering memory leak dump Pin
peterchen6-Jul-03 21:47
peterchen6-Jul-03 21:47 
Generalp Pin
KaЯl7-Jul-03 3:40
KaЯl7-Jul-03 3:40 
GeneralRe: Deciphering memory leak dump Pin
Xander807-Jul-03 1:15
Xander807-Jul-03 1:15 
GeneralRe: Deciphering memory leak dump Pin
ed welch7-Jul-03 4:10
ed welch7-Jul-03 4:10 
QuestionWhy doesn’t show bitmap, when button is disable? Pin
no_body696-Jul-03 19:57
no_body696-Jul-03 19:57 
Hi,
I set bitmap in default button. When button enable, button is display with bitmap. But when button disable then bitmap doesn’t show in button and button is shown with another color.
Here is my code:

HBITMAP hbmp =::LoadBitmap(AfxGetInstanceHandle), MAKEINTRESOURCE(IDB_BITMAP_OK));

::SendMessage(GetDlgItem(IDC_OK)->GetSafeHwnd(), BM_SETIMAGE, (WPARAM)IMAGE_BITMAP,(LPARAM) hbmp);

hbmp = NULL;

I also checked Bitmap option from button properties.

My problem is that, I want to show button with bitmap when it is disable (same as when button is enable).

Anybody can tall me, how can I solve this problem?


AnswerRe: Why doesn’t show bitmap, when button is disable? Pin
Rage6-Jul-03 21:49
professionalRage6-Jul-03 21:49 
GeneralRe: Why doesn’t show bitmap, when button is disable? Pin
no_body696-Jul-03 23:12
no_body696-Jul-03 23:12 
GeneralRe: Why doesn’t show bitmap, when button is disable? Pin
no_body697-Jul-03 0:47
no_body697-Jul-03 0:47 
Generalscreensaver problem Pin
xxhimanshu6-Jul-03 18:41
xxhimanshu6-Jul-03 18:41 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 18:58
Ryan Binns6-Jul-03 18:58 
GeneralRe: screensaver problem Pin
xxhimanshu6-Jul-03 19:49
xxhimanshu6-Jul-03 19:49 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 20:13
Ryan Binns6-Jul-03 20:13 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 20:55
professionalRage6-Jul-03 20:55 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 21:04
Ryan Binns6-Jul-03 21:04 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 21:45
professionalRage6-Jul-03 21:45 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 22:31
Ryan Binns6-Jul-03 22:31 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 23:24
professionalRage6-Jul-03 23:24 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 23:33
Ryan Binns6-Jul-03 23:33 
GeneralRe: screensaver problem Pin
JT Anderson8-Jul-03 12:22
JT Anderson8-Jul-03 12:22 
GeneralCheck is file is locked Pin
pranavamhari6-Jul-03 18:06
pranavamhari6-Jul-03 18:06 
GeneralRe: Check is file is locked Pin
Ravi Bhavnani6-Jul-03 18:43
professionalRavi Bhavnani6-Jul-03 18:43 
GeneralRe: Check is file is locked Pin
pranavamhari7-Jul-03 1:28
pranavamhari7-Jul-03 1:28 

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.