Click here to Skip to main content
15,884,237 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Cool_Dev18-Jan-11 20:52
Cool_Dev18-Jan-11 20:52 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Le@rner18-Jan-11 20:56
Le@rner18-Jan-11 20:56 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Adam Roderick J18-Jan-11 21:02
Adam Roderick J18-Jan-11 21:02 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Cool_Dev18-Jan-11 21:13
Cool_Dev18-Jan-11 21:13 
Questionhow to add a menu in win32 dialog box? Pin
mathivanaan18-Jan-11 18:15
mathivanaan18-Jan-11 18:15 
AnswerRe: how to add a menu in win32 dialog box? Pin
tagopi18-Jan-11 18:36
tagopi18-Jan-11 18:36 
GeneralRe: how to add a menu in win32 dialog box? Pin
mathivanaan18-Jan-11 19:16
mathivanaan18-Jan-11 19:16 
AnswerRe: how to add a menu in win32 dialog box? Pin
Andrew Brock18-Jan-11 18:57
Andrew Brock18-Jan-11 18:57 
You can add it directly into the resource file unless you are using a dialog generated at runtime (which you arent)

Just open the dialog in the resource editor in Visual Studio, select the dialog box, then down near the bottom of the properties window (View->Other Windows->Properties Window) there is an optiom there for Menu, just select your menu ID from the dropdown list.

If you arent using the dialog editor, you can add it to the .rc file manually like this (the line in red):
IDD_UNDELETE_DIALOG DIALOGEX 0, 0, 320, 200
STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_APPWINDOW
CAPTION "My Dialog"
MENU IDR_MAINFRAME
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    CONTROL "",IDC_FILES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,98,0,222,200
END

Questiondetermining exit code of a process from a dll in that process Pin
JudyL_MD18-Jan-11 15:34
JudyL_MD18-Jan-11 15:34 
AnswerRe: determining exit code of a process from a dll in that process Pin
rod naR18-Jan-11 17:01
rod naR18-Jan-11 17:01 
Questioncase sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz18-Jan-11 10:04
tukbriz18-Jan-11 10:04 
AnswerRe: case sensitive sort of chars/strings...including numbers, symbols etc.. Pin
Andrew Brock18-Jan-11 19:09
Andrew Brock18-Jan-11 19:09 
GeneralRe: case sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz22-Jan-11 11:37
tukbriz22-Jan-11 11:37 
AnswerRe: case sensitive sort of chars/strings...including numbers, symbols etc.. Pin
Aescleal18-Jan-11 19:57
Aescleal18-Jan-11 19:57 
GeneralRe: case sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz22-Jan-11 11:52
tukbriz22-Jan-11 11:52 
Questionbest way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
bob1697218-Jan-11 9:00
bob1697218-Jan-11 9:00 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
Aescleal18-Jan-11 9:28
Aescleal18-Jan-11 9:28 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
TheGreatAndPowerfulOz18-Jan-11 11:26
TheGreatAndPowerfulOz18-Jan-11 11:26 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
Emilio Garavaglia18-Jan-11 22:37
Emilio Garavaglia18-Jan-11 22:37 
GeneralRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
bob1697219-Jan-11 3:39
bob1697219-Jan-11 3:39 
QuestionBluetooth - COM port reading Pin
tnt00017-Jan-11 21:48
tnt00017-Jan-11 21:48 
AnswerRe: Bluetooth - COM port reading Pin
CPallini17-Jan-11 21:55
mveCPallini17-Jan-11 21:55 
AnswerRe: Bluetooth - COM port reading Pin
Andrew Brock17-Jan-11 22:31
Andrew Brock17-Jan-11 22:31 
GeneralRe: Bluetooth - COM port reading Pin
tnt00017-Jan-11 23:48
tnt00017-Jan-11 23:48 
GeneralRe: Bluetooth - COM port reading Pin
Andrew Brock18-Jan-11 0:40
Andrew Brock18-Jan-11 0:40 

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.