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

C / C++ / MFC

 
Generalpassing pointers from DLL to VB to DLL Pin
IGeorgeI19-Mar-03 10:32
IGeorgeI19-Mar-03 10:32 
GeneralRe: passing pointers from DLL to VB to DLL Pin
FlorianS19-Mar-03 10:46
FlorianS19-Mar-03 10:46 
GeneralRe: passing pointers from DLL to VB to DLL Pin
IGeorgeI19-Mar-03 11:37
IGeorgeI19-Mar-03 11:37 
GeneralNTService and Hooks Pin
FlorianS19-Mar-03 9:30
FlorianS19-Mar-03 9:30 
GeneralRe: NTService and Hooks Pin
Joan M20-Mar-03 4:58
professionalJoan M20-Mar-03 4:58 
QuestionLoading bitmaps? Pin
clintsinger19-Mar-03 9:16
clintsinger19-Mar-03 9:16 
AnswerRe: Loading bitmaps? Pin
Chris Losinger19-Mar-03 9:27
professionalChris Losinger19-Mar-03 9:27 
GeneralRe: Loading bitmaps? Pin
clintsinger19-Mar-03 9:43
clintsinger19-Mar-03 9:43 
GeneralRe: Loading bitmaps? Pin
Chris Losinger19-Mar-03 10:57
professionalChris Losinger19-Mar-03 10:57 
QuestionHow get the path of Internet Explorer (executable) or any APP.EXE ?? Pin
Cris19-Mar-03 9:12
Cris19-Mar-03 9:12 
AnswerRe: How get the path of Internet Explorer (executable) or any APP.EXE ?? Pin
Amit Dey19-Mar-03 13:19
Amit Dey19-Mar-03 13:19 
AnswerRe: How get the path of Internet Explorer (executable) or any APP.EXE ?? Pin
Big Art20-Mar-03 6:27
Big Art20-Mar-03 6:27 
GeneralRe: How get the path of Internet Explorer (executable) or any APP.EXE ?? Pin
Cris20-Mar-03 7:07
Cris20-Mar-03 7:07 
GeneralRe: How get the path of Internet Explorer (executable) or any APP.EXE ?? Pin
Big Art20-Mar-03 12:55
Big Art20-Mar-03 12:55 
GeneralChanging menu background color (Win32) Pin
georgiek5019-Mar-03 8:18
georgiek5019-Mar-03 8:18 
GeneralRe: Changing menu background color (Win32) Pin
Neville Franks19-Mar-03 8:53
Neville Franks19-Mar-03 8:53 
GeneralRe: Changing menu background color (Win32) Pin
Michael Dunn19-Mar-03 9:05
sitebuilderMichael Dunn19-Mar-03 9:05 
GeneralRe: Changing menu background color (Win32) Pin
georgiek5019-Mar-03 12:25
georgiek5019-Mar-03 12:25 
GeneralRe: Changing menu background color (Win32) Pin
Big Art21-Mar-03 6:31
Big Art21-Mar-03 6:31 
It does work with XP. I tried it on my XP machine and it works beautifully.
Are you declaring your CBrush object as a class member so it doesn't go out of scope?

Art

/////////////////
From MSDN
/////////////////

The MENUINFO structure contains information about a menu.

typedef struct tagMENUINFO {
DWORD cbSize;
DWORD fMask;
DWORD dwStyle;
UINT cyMax;
HBRUSH hbrBack;
DWORD dwContextHelpID;
ULONG_PTR dwMenuData;
} MENUINFO, FAR *LPMENUINFO;
typedef MENUINFO CONST FAR *LPCMENUINFO;

Requirements
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 98 and later.
Header: Declared in Winuser.h; include Windows.h.


GeneralRe: Changing menu background color (Win32) Pin
Anonymous21-Mar-03 6:59
Anonymous21-Mar-03 6:59 
GeneralRe: Changing menu background color (Win32) Pin
Big Art21-Mar-03 10:46
Big Art21-Mar-03 10:46 
GeneralSSL Client for desktop Windows Pin
Matthew Fleming19-Mar-03 8:11
Matthew Fleming19-Mar-03 8:11 
GeneralRe: SSL Client for desktop Windows Pin
geo_m19-Mar-03 10:29
geo_m19-Mar-03 10:29 
GeneralWhy this is different? (CString copying over pszTitle)... Pin
Joan M19-Mar-03 7:47
professionalJoan M19-Mar-03 7:47 
GeneralRe: Why this is different? (CString copying over pszTitle)... Pin
Tim Smith19-Mar-03 8:02
Tim Smith19-Mar-03 8:02 

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.