Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Learning C and getting an Errors on Compile! Pin
Cpach8-Jul-04 21:54
Cpach8-Jul-04 21:54 
QuestionHow can I display the word document in the textbox/rich text box Pin
sajithlal8-Jul-04 20:17
sajithlal8-Jul-04 20:17 
AnswerRe: How can I display the word document in the textbox/rich text box Pin
Johan Rosengren10-Jul-04 3:59
Johan Rosengren10-Jul-04 3:59 
GeneralCStatic Z-Order in dialog Pin
Mikey_E8-Jul-04 19:44
professionalMikey_E8-Jul-04 19:44 
GeneralRe: CStatic Z-Order in dialog Pin
Antti Keskinen8-Jul-04 21:41
Antti Keskinen8-Jul-04 21:41 
GeneralRe: CStatic Z-Order in dialog Pin
Mikey_E10-Jul-04 16:38
professionalMikey_E10-Jul-04 16:38 
GeneralRe: CStatic Z-Order in dialog Pin
Antony M Kancidrowski9-Jul-04 1:28
Antony M Kancidrowski9-Jul-04 1:28 
GeneralRe: CStatic Z-Order in dialog Pin
Mikey_E10-Jul-04 16:37
professionalMikey_E10-Jul-04 16:37 
Generalabut Escape key and a dialog Pin
Zeeshan Bilal8-Jul-04 19:41
Zeeshan Bilal8-Jul-04 19:41 
GeneralRe: abut Escape key and a dialog Pin
V.8-Jul-04 20:49
professionalV.8-Jul-04 20:49 
GeneralRe: abut Escape key and a dialog Pin
Zeeshan Bilal9-Jul-04 0:41
Zeeshan Bilal9-Jul-04 0:41 
GeneralRe: abut Escape key and a dialog Pin
Anonymous9-Jul-04 0:47
Anonymous9-Jul-04 0:47 
GeneralRe: abut Escape key and a dialog Pin
V.9-Jul-04 0:57
professionalV.9-Jul-04 0:57 
Generalreg - voice chat Pin
Member 10181288-Jul-04 18:55
Member 10181288-Jul-04 18:55 
GeneralRe: reg - voice chat Pin
Ken Mazaika8-Jul-04 19:08
Ken Mazaika8-Jul-04 19:08 
Generaltracking the focus Pin
User 5838528-Jul-04 17:57
User 5838528-Jul-04 17:57 
GeneralRe: tracking the focus Pin
bikram singh9-Jul-04 6:56
bikram singh9-Jul-04 6:56 
GeneralCreating a Trial version of a program Pin
Anonymous8-Jul-04 17:53
Anonymous8-Jul-04 17:53 
GeneralRe: Creating a Trial version of a program Pin
User 5838528-Jul-04 18:02
User 5838528-Jul-04 18:02 
GeneralRe: Creating a Trial version of a program Pin
Antony M Kancidrowski9-Jul-04 1:07
Antony M Kancidrowski9-Jul-04 1:07 
GeneralRe: Creating a Trial version of a program Pin
Ken Mazaika8-Jul-04 18:06
Ken Mazaika8-Jul-04 18:06 
GeneralRe: Creating a Trial version of a program Pin
*Dreamz8-Jul-04 18:12
*Dreamz8-Jul-04 18:12 
GeneralRe: Creating a Trial version of a program Pin
Anonymous9-Jul-04 8:39
Anonymous9-Jul-04 8:39 
GeneralControl Problem Pin
Ken Mazaika8-Jul-04 17:47
Ken Mazaika8-Jul-04 17:47 
I'm using OpenGL on a dialog based MFC application. It works fine and well until I try to open a messagebox. Then the program freezes. I'm not sure why. By cutting certain lines of code out, I have discovered that the only lines that stop the problem from occuring that I can remove is:

<br />
CString className = AfxRegisterWndClass(<br />
		CS_HREDRAW | CS_VREDRAW | CS_OWNDC,<br />
		NULL,<br />
		(HBRUSH)GetStockObject(BLACK_BRUSH),<br />
		NULL);<br />
CreateEx(<br />
		0,<br />
		className,<br />
		"OpenGL",<br />
		WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,<br />
		rect,<br />
		parent,<br />
		0); <br />


I dont see how this could cause the error, but I think it does. If anyone can tell me how to make it not freeze when I display a message box I would appreciate it. Thanks a bunch.

Ken
GeneralIO Completion ports Pin
haritadala8-Jul-04 17:22
haritadala8-Jul-04 17:22 

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.