Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to set the font used for button/label Pin
mactan28-Jun-00 22:28
sussmactan28-Jun-00 22:28 
AnswerRe: how to set the font used for button/label Pin
Mike Dunn29-Jun-00 0:38
Mike Dunn29-Jun-00 0:38 
Questionhow to set the font used for button/label Pin
mactan28-Jun-00 22:28
sussmactan28-Jun-00 22:28 
GeneralWindows Firewalls Pin
FunkBoy28-Jun-00 21:20
sussFunkBoy28-Jun-00 21:20 
QuestionHow to read cpu temperature? Pin
Farzad B.28-Jun-00 20:41
sussFarzad B.28-Jun-00 20:41 
GeneralWhen a DLL unload from physical memory?? Pin
Ryan Park2-Jul-00 23:56
Ryan Park2-Jul-00 23:56 
GeneralRe: When a DLL unload from physical memory?? Pin
Pere Mitjavila15-Jul-00 0:50
Pere Mitjavila15-Jul-00 0:50 
General_AfxGetComCtlVersion Pin
28-Jun-00 9:19
suss28-Jun-00 9:19 
Hi all,

I found following snippet in \vc98\mfc\src\afximpl.h, which looks very interesting:
// for determining version of COMCTL32.DLL
#define VERSION_WIN4    MAKELONG(0, 4)
#define VERSION_IE3     MAKELONG(70, 4)
#define VERSION_IE4     MAKELONG(71, 4)
#define VERSION_IE401   MAKELONG(72, 4)
extern int _afxComCtlVersion;
DWORD AFXAPI _AfxGetComCtlVersion();
No more determing COMCTL's file version? Instead simply call:
if (_AfxGetComCtlVersion() >= VERSION_IE3)
{
    //...
}
Or do I misaccept something? Can anybody comment on this?

Thanks in advance,
Thömmi
GeneralRe: _AfxGetComCtlVersion Pin
Mike Dunn29-Jun-00 0:27
Mike Dunn29-Jun-00 0:27 
GeneralInterface Pin
WinJr28-Jun-00 7:00
sussWinJr28-Jun-00 7:00 
GeneralRe: Interface Pin
Mike Dunn28-Jun-00 8:33
Mike Dunn28-Jun-00 8:33 
QuestionHow to get the domain name Pin
Member 135628-Jun-00 6:15
Member 135628-Jun-00 6:15 
AnswerRe: How to get the domain name Pin
Sam Hobbs29-Jun-00 18:30
Sam Hobbs29-Jun-00 18:30 
GeneralAdding an menuitem runtime Pin
KNEI28-Jun-00 6:13
sussKNEI28-Jun-00 6:13 
QuestionHow to view the files from a zip files Pin
Member 316528-Jun-00 4:50
Member 316528-Jun-00 4:50 
AnswerRe: How to view the files from a zip files Pin
Blake Miller28-Jun-00 7:09
Blake Miller28-Jun-00 7:09 
GeneralLNK2001 in MFC Extension DLL's Pin
Hans-Peter Warter28-Jun-00 2:43
Hans-Peter Warter28-Jun-00 2:43 
GeneralRe: LNK2001 in MFC Extension DLL's Pin
GBO28-Jun-00 4:47
GBO28-Jun-00 4:47 
GeneralCWnd and scrolling... Pin
Member 91827-Jun-00 15:49
Member 91827-Jun-00 15:49 
GeneralQUEST: #define classoffset(base, derived) ((DWORD)(static_cast<base*>((derived*)8))-8) Pin
cuong cao27-Jun-00 15:21
cuong cao27-Jun-00 15:21 
GeneralSetCommBreak Pin
Barry Zhao27-Jun-00 10:47
Barry Zhao27-Jun-00 10:47 
GeneralRe: SetCommBreak Pin
Alex Gorev27-Jun-00 11:56
Alex Gorev27-Jun-00 11:56 
GeneralChanging the selection color of a CRichEditView Pin
JCpp27-Jun-00 8:46
JCpp27-Jun-00 8:46 
GeneralRe: Changing the selection color of a CRichEditView Pin
BOURDAUD'HUI27-Jun-00 23:19
BOURDAUD'HUI27-Jun-00 23:19 
GeneralRegistry Question Pin
ldaoust27-Jun-00 7:16
ldaoust27-Jun-00 7:16 

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.