Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncontrol over system Pin
rajeevktripathi27-Feb-06 1:31
rajeevktripathi27-Feb-06 1:31 
AnswerRe: control over system Pin
David Crow27-Feb-06 2:44
David Crow27-Feb-06 2:44 
AnswerRe: control over system Pin
Maximilien27-Feb-06 2:44
Maximilien27-Feb-06 2:44 
JokeRe: control over system Pin
Dennis Gourjii27-Feb-06 3:01
Dennis Gourjii27-Feb-06 3:01 
GeneralRe: control over system Pin
Blake Miller1-Mar-06 9:44
Blake Miller1-Mar-06 9:44 
QuestionYet another list view problem Pin
Waldermort27-Feb-06 1:27
Waldermort27-Feb-06 1:27 
AnswerRe: Yet another list view problem Pin
Naveen27-Feb-06 1:53
Naveen27-Feb-06 1:53 
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 2:05
Waldermort27-Feb-06 2:05 
Yes I have two buttons on the dialog. I read somewhere that having an ID_OK can cause problems, so I changes the id to ID_BUTTON_OK and set it to 1023. I have also read that the message mapping needs to be changed, but I'm not quite sure how to accomplish this. Here is my Winmain
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
	LPSTR lpCmdLine, int nCmdShow)
{
	INITCOMMONCONTROLSEX InitCtrlEx;

	InitCtrlEx.dwSize = sizeof(INITCOMMONCONTROLSEX);
	InitCtrlEx.dwICC  = ICC_BAR_CLASSES;
	InitCommonControlsEx(&InitCtrlEx);

	g_hinst = hInstance;

	return DialogBox(hInstance, MAKEINTRESOURCE(IDD_MAIN), NULL, DlgProc);
}

I'm used to creating controls at runtime, this is my first time to use a resource dialog.
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 3:11
Waldermort27-Feb-06 3:11 
QuestionImage in arc file Pin
rajeevktripathi27-Feb-06 1:24
rajeevktripathi27-Feb-06 1:24 
QuestionHow to check valid internet connection? Pin
Aryan S27-Feb-06 0:15
Aryan S27-Feb-06 0:15 
AnswerRe: How to check valid internet connection? Pin
Nibu babu thomas27-Feb-06 0:44
Nibu babu thomas27-Feb-06 0:44 
AnswerRe: How to check valid internet connection? Pin
David Crow27-Feb-06 2:46
David Crow27-Feb-06 2:46 
QuestionLaunching EXE Pin
Subramaniam s.V.27-Feb-06 0:14
Subramaniam s.V.27-Feb-06 0:14 
AnswerRe: Launching EXE Pin
Rage27-Feb-06 0:21
professionalRage27-Feb-06 0:21 
AnswerRe: Launching EXE Pin
David Crow27-Feb-06 2:47
David Crow27-Feb-06 2:47 
QuestionProject files are compiling always Pin
BiswaR26-Feb-06 23:31
BiswaR26-Feb-06 23:31 
AnswerRe: Project files are compiling always Pin
Dennis Gourjii26-Feb-06 23:47
Dennis Gourjii26-Feb-06 23:47 
GeneralRe: Project files are compiling always Pin
Subramaniam s.V.27-Feb-06 0:19
Subramaniam s.V.27-Feb-06 0:19 
GeneralRe: Project files are compiling always Pin
Dennis Gourjii27-Feb-06 0:42
Dennis Gourjii27-Feb-06 0:42 
AnswerRe: Project files are compiling always Pin
Cedric Moonen27-Feb-06 1:15
Cedric Moonen27-Feb-06 1:15 
QuestionPrinting Pin
Subramaniam s.V.26-Feb-06 22:44
Subramaniam s.V.26-Feb-06 22:44 
AnswerRe: Printing Pin
Dennis Gourjii26-Feb-06 23:50
Dennis Gourjii26-Feb-06 23:50 
GeneralRe: Printing Pin
Subramaniam s.V.27-Feb-06 0:17
Subramaniam s.V.27-Feb-06 0:17 
GeneralRe: Printing Pin
Dennis Gourjii27-Feb-06 0:35
Dennis Gourjii27-Feb-06 0:35 

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.