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

C / C++ / MFC

 
GeneralRe: may i also add Pin
_Flaviu10-Oct-11 20:43
_Flaviu10-Oct-11 20:43 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 1:42
Stefan_Lang10-Oct-11 1:42 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 2:30
_Flaviu10-Oct-11 2:30 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 2:33
Stefan_Lang10-Oct-11 2:33 
QuestionButton Creation, Handling the Click event Pin
jkirkerx9-Oct-11 9:29
professionaljkirkerx9-Oct-11 9:29 
AnswerRe: Button Creation, Handling the Click event Pin
Niklas L9-Oct-11 9:43
Niklas L9-Oct-11 9:43 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 10:30
professionaljkirkerx9-Oct-11 10:30 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 13:19
professionaljkirkerx9-Oct-11 13:19 
Well that took awhile to figure out. I created a menu in my resource file, and assigned the number to it in the other resource file. Then added the single hMenu item to the create window so WM_COMMAND can pick it up as the wParam. Thanks for the pointer to the huge lesson that I really learned from.

HWND bt_IIS_Install;
		bt_IIS_Exit = CreateWindow(L"BUTTON", L"Exit", WS_CHILD,
			winWidth / 2 - 200,
			winHeight - 90,
			180, 32, hIIS_Install, (HMENU)IDC_IIS_WS_EXIT, GetModuleHandle(NULL), 0
		);
		ShowWindow( bt_IIS_Exit, SW_SHOW); 

AnswerRe: Button Creation, Handling the Click event Pin
«_Superman_»9-Oct-11 16:47
professional«_Superman_»9-Oct-11 16:47 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 17:44
professionaljkirkerx9-Oct-11 17:44 
QuestionCannot add variable in MFC Class view wizard – again ( VC6.0) Pin
Vaclav_9-Oct-11 8:14
Vaclav_9-Oct-11 8:14 
AnswerRe: Cannot add variable in MFC Class view wizard – again ( VC6.0) SOLVED Pin
Vaclav_9-Oct-11 8:30
Vaclav_9-Oct-11 8:30 
QuestionC/C++ Optimization Pin
Hans Dietrich9-Oct-11 4:49
mentorHans Dietrich9-Oct-11 4:49 
AnswerRe: C/C++ Optimization Pin
Stephen Hewitt9-Oct-11 4:56
Stephen Hewitt9-Oct-11 4:56 
AnswerRe: C/C++ Optimization Pin
Hans Dietrich9-Oct-11 5:38
mentorHans Dietrich9-Oct-11 5:38 
GeneralRe: C/C++ Optimization Pin
«_Superman_»9-Oct-11 16:50
professional«_Superman_»9-Oct-11 16:50 
AnswerRe: C/C++ Optimization Pin
Erudite_Eric9-Oct-11 5:48
Erudite_Eric9-Oct-11 5:48 
AnswerRe: C/C++ Optimization Pin
cmk9-Oct-11 8:42
cmk9-Oct-11 8:42 
GeneralRe: C/C++ Optimization Pin
Hans Dietrich10-Oct-11 3:03
mentorHans Dietrich10-Oct-11 3:03 
GeneralRe: C/C++ Optimization Pin
Randor 10-Oct-11 13:26
professional Randor 10-Oct-11 13:26 
GeneralRe: C/C++ Optimization Pin
cmk12-Oct-11 7:06
cmk12-Oct-11 7:06 
QuestionExcel automation. How to save as *.xls with Excel 2010? Pin
Falconapollo8-Oct-11 20:09
Falconapollo8-Oct-11 20:09 
GeneralRe: Excel automation. How to save as *.xls with Excel 2010? Pin
David Crow10-Oct-11 3:31
David Crow10-Oct-11 3:31 
Questionhow to specify the compiler search path?(Visual Studio 2005) Pin
Falconapollo8-Oct-11 19:06
Falconapollo8-Oct-11 19:06 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
PJ Arends8-Oct-11 20:37
professionalPJ Arends8-Oct-11 20:37 

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.