Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalto draw bar garphs of geometrics function Pin
a_david12319-Jun-05 19:40
a_david12319-Jun-05 19:40 
GeneralRe: to draw bar garphs of geometrics function Pin
Rage19-Jun-05 21:49
professionalRage19-Jun-05 21:49 
GeneralOpen an excel file in VC++ Pin
binh.pham19-Jun-05 18:26
binh.pham19-Jun-05 18:26 
GeneralRe: Open an excel file in VC++ Pin
Priyank Bolia19-Jun-05 19:43
Priyank Bolia19-Jun-05 19:43 
GeneralRe: Open an excel file in VC++ Pin
David Crow20-Jun-05 3:01
David Crow20-Jun-05 3:01 
QuestionHow to show Cursor on the edit box Pin
topagarwal19-Jun-05 17:45
topagarwal19-Jun-05 17:45 
AnswerRe: How to show Cursor on the edit box Pin
Nilesh K.19-Jun-05 17:50
Nilesh K.19-Jun-05 17:50 
GeneralModeless API dialog hangs after creation Pin
KnaveR77719-Jun-05 17:39
KnaveR77719-Jun-05 17:39 
Hello All,

I have created a DLL that has an export which calls CreateDialog to make a modeless DLL.

CreateDialog(hDLL, MAKEINTRESOURCE(IDD_DIALOG1), mWnd, (DLGPROC)DlgCallBack);

When called, the dialog pops up and everything seems to go right... but locks-up as soon as i click or drag mouse into the dialog. My guess is that something might be going wrong with the way I handle messages or something weird caused by using a dll that I am not aware of, but am not sure since i am new to windows programming. Here is the code in my callback

<br />
	switch(uMsg)<br />
	{<br />
	case WM_COMMAND:<br />
		<br />
		switch(wParam){<br />
		case IDOK:<br />
			return TRUE;<br />
		}<br />
	break;<br />
<br />
	case WM_DESTROY:<br />
		PostQuitMessage(0);<br />
		return true;<br />
<br />
	case WM_CLOSE:<br />
		DestroyWindow(hwnd);<br />
		return TRUE;<br />
<br />
	}<br />
	<br />
	return FALSE;<br />

GeneralRe: Modeless API dialog hangs after creation Pin
Nilesh K.19-Jun-05 17:54
Nilesh K.19-Jun-05 17:54 
GeneralRe: Modeless API dialog hangs after creation Pin
ThatsAlok19-Jun-05 18:33
ThatsAlok19-Jun-05 18:33 
GeneralRe: Modeless API dialog hangs after creation Pin
KnaveR77721-Jun-05 17:18
KnaveR77721-Jun-05 17:18 
GeneralC help needed Pin
Tom Archer19-Jun-05 15:54
Tom Archer19-Jun-05 15:54 
GeneralRe: C help needed Pin
Neville Franks19-Jun-05 19:19
Neville Franks19-Jun-05 19:19 
GeneralRe: C help needed Pin
Christian Graus19-Jun-05 20:03
protectorChristian Graus19-Jun-05 20:03 
GeneralRe: C help needed Pin
Christian Graus19-Jun-05 20:10
protectorChristian Graus19-Jun-05 20:10 
GeneralRe: C help needed Pin
Jack Squirrel Jr.20-Jun-05 0:12
sussJack Squirrel Jr.20-Jun-05 0:12 
GeneralRe: C help needed Pin
David Crow20-Jun-05 3:12
David Crow20-Jun-05 3:12 
GeneralRe: C help needed Pin
Bob Stanneveld19-Jun-05 20:40
Bob Stanneveld19-Jun-05 20:40 
GeneralRe: C help needed Pin
Tom Archer20-Jun-05 1:27
Tom Archer20-Jun-05 1:27 
GeneralRe: C help needed Pin
John R. Shaw20-Jun-05 6:08
John R. Shaw20-Jun-05 6:08 
GeneralRe: C help needed Pin
Tom Archer20-Jun-05 21:24
Tom Archer20-Jun-05 21:24 
GeneralRe: C help needed Pin
Bob Stanneveld20-Jun-05 20:41
Bob Stanneveld20-Jun-05 20:41 
Generalwindows hicon problem Pin
c. s.19-Jun-05 14:33
c. s.19-Jun-05 14:33 
GeneralRe: windows hicon problem Pin
Rage19-Jun-05 22:02
professionalRage19-Jun-05 22:02 
GeneralRe: windows hicon problem Pin
c. s.21-Jun-05 18:08
c. s.21-Jun-05 18:08 

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.