Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalset high priority Pin
LeeeNN16-Nov-04 6:51
LeeeNN16-Nov-04 6:51 
GeneralRe: set high priority Pin
David Crow16-Nov-04 8:46
David Crow16-Nov-04 8:46 
GeneralStrange way of killing DLLHOST Pin
Federico Milano16-Nov-04 5:57
Federico Milano16-Nov-04 5:57 
GeneralExecuting a SQL Script Pin
Ivan Cachicatari16-Nov-04 4:45
Ivan Cachicatari16-Nov-04 4:45 
GeneralRe: Executing a SQL Script Pin
si_6916-Nov-04 5:21
si_6916-Nov-04 5:21 
GeneralRe: Executing a SQL Script Pin
Ivan Cachicatari20-Nov-04 4:07
Ivan Cachicatari20-Nov-04 4:07 
GeneralRe: Executing a SQL Script Pin
Antony M Kancidrowski16-Nov-04 6:13
Antony M Kancidrowski16-Nov-04 6:13 
GeneralProblems with CPropertySheet Pin
Ivan Cachicatari16-Nov-04 4:41
Ivan Cachicatari16-Nov-04 4:41 
Hello everyone.

I have a problem with the CPropertySheet class, when I attempt close the Property Sheet dialog from outside, occurs an fatal error.

CWnd *mainWnd = AfxGetMainWnd();<br />
CWnd *wndToDestroy;<br />
wndToDestroy = mainWnd->GetActiveWindow();<br />
<br />
if(wndToDestroy)<br />
{<br />
	wndToDestroy->PostMessage(WM_CLOSE);<br />
}


Somebody knows another way to close the CPropertySheet dialog from outside?

I'm using Visual C++ 6 SP5 on Windows 98se


Ivan Cachicatari
www.latindevelopers.com
GeneralCOM, Multithreaded Pin
Jon Hulatt16-Nov-04 4:35
Jon Hulatt16-Nov-04 4:35 
GeneralRe: COM, Multithreaded Pin
Antony M Kancidrowski16-Nov-04 5:54
Antony M Kancidrowski16-Nov-04 5:54 
GeneralDon&#8217;t expand CTreeCtrl on Right click&#8230; Pin
anderslundsgard16-Nov-04 3:56
anderslundsgard16-Nov-04 3:56 
GeneralRe: Don&#8217;t expand CTreeCtrl on Right click&#8230; Pin
BlackDice16-Nov-04 5:40
BlackDice16-Nov-04 5:40 
Questionis multiple inheritance possible?? Pin
namaskaaram16-Nov-04 3:48
namaskaaram16-Nov-04 3:48 
AnswerRe: is multiple inheritance possible?? Pin
Nemanja Trifunovic16-Nov-04 4:01
Nemanja Trifunovic16-Nov-04 4:01 
AnswerRe: is multiple inheritance possible?? Pin
David Crow16-Nov-04 4:07
David Crow16-Nov-04 4:07 
AnswerRe: is multiple inheritance possible?? Pin
Maximilien16-Nov-04 4:31
Maximilien16-Nov-04 4:31 
Questionhow do i change the color of the frame of a picture control??? Pin
namaskaaram16-Nov-04 3:45
namaskaaram16-Nov-04 3:45 
Generalregarding mouse events..... Pin
namaskaaram16-Nov-04 3:43
namaskaaram16-Nov-04 3:43 
GeneralRe: regarding mouse events..... Pin
Blake Miller16-Nov-04 4:43
Blake Miller16-Nov-04 4:43 
GeneralRe: regarding mouse events..... Pin
namaskaaram16-Nov-04 17:52
namaskaaram16-Nov-04 17:52 
GeneralRe: regarding mouse events..... Pin
Blake Miller17-Nov-04 4:05
Blake Miller17-Nov-04 4:05 
GeneralRe: regarding mouse events..... Pin
namaskaaram17-Nov-04 18:50
namaskaaram17-Nov-04 18:50 
GeneralRe: regarding mouse events..... Pin
Blake Miller18-Nov-04 4:04
Blake Miller18-Nov-04 4:04 
GeneralCoTaskMemAlloc and BITMAPINFO Pin
dmxdmxdmx0516-Nov-04 3:39
dmxdmxdmx0516-Nov-04 3:39 
GeneralRe: CoTaskMemAlloc and BITMAPINFO Pin
Blake Miller16-Nov-04 4:49
Blake Miller16-Nov-04 4:49 

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.