Click here to Skip to main content
15,905,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: IO Completion ports Pin
Garth J Lancaster8-Jul-04 18:07
professionalGarth J Lancaster8-Jul-04 18:07 
GeneralRe: IO Completion ports Pin
User 5838528-Jul-04 18:35
User 5838528-Jul-04 18:35 
GeneralGet Process Path with only process id Pin
Member 7916798-Jul-04 17:12
Member 7916798-Jul-04 17:12 
GeneralRe: Get Process Path with only process id Pin
Jeffrey Walton14-Jul-04 13:03
Jeffrey Walton14-Jul-04 13:03 
GeneralRe: Get Process Path with only process id Pin
Member 79167914-Jul-04 23:09
Member 79167914-Jul-04 23:09 
Generalfile transfere via winsock Pin
surfman198-Jul-04 15:04
surfman198-Jul-04 15:04 
GeneralRe: file transfere via winsock Pin
John R. Shaw8-Jul-04 17:46
John R. Shaw8-Jul-04 17:46 
GeneralRe: file transfere via winsock Pin
surfman199-Jul-04 10:18
surfman199-Jul-04 10:18 
GeneralPrinting Bitmaps Texture Fills Pin
Pinhead_Me8-Jul-04 14:07
Pinhead_Me8-Jul-04 14:07 
GeneralRe: Printing Bitmaps Texture Fills Pin
John R. Shaw8-Jul-04 17:53
John R. Shaw8-Jul-04 17:53 
Generaldrawing in win32 Pin
MG06668-Jul-04 13:32
sussMG06668-Jul-04 13:32 
GeneralRe: drawing in win32 Pin
PJ Arends8-Jul-04 13:57
professionalPJ Arends8-Jul-04 13:57 
GeneralRe: drawing in win32 Pin
MG06668-Jul-04 14:10
sussMG06668-Jul-04 14:10 
GeneralRe: drawing in win32 Pin
Pinhead_Me8-Jul-04 14:08
Pinhead_Me8-Jul-04 14:08 
GeneralRe: drawing in win32 Pin
MG06668-Jul-04 14:12
sussMG06668-Jul-04 14:12 
GeneralNeed to disable keybord and or the mouse Pin
Larsson8-Jul-04 12:48
Larsson8-Jul-04 12:48 

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.