Click here to Skip to main content
15,915,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ 6.0 and DAO db access Pin
giannib2k24-Oct-06 4:56
giannib2k24-Oct-06 4:56 
QuestionHow to prevent window to get focus Pin
AnTri23-Oct-06 6:16
AnTri23-Oct-06 6:16 
AnswerRe: How to prevent window to get focus Pin
includeh1023-Oct-06 8:48
includeh1023-Oct-06 8:48 
GeneralRe: How to prevent window to get focus Pin
AnTri23-Oct-06 23:17
AnTri23-Oct-06 23:17 
QuestionWindows Mobile 5.0 Pocket PC SDK Pin
surfman1923-Oct-06 5:27
surfman1923-Oct-06 5:27 
QuestionClosing App and DLL? Pin
Cpt Rick23-Oct-06 5:16
Cpt Rick23-Oct-06 5:16 
AnswerRe: Closing App and DLL? Pin
TClarke23-Oct-06 6:07
TClarke23-Oct-06 6:07 
GeneralRe: Closing App and DLL? Pin
Cpt Rick23-Oct-06 7:47
Cpt Rick23-Oct-06 7:47 
I tried doing this, which does seem to work...

I set a bool whenever I call my DLL.

<br />
if( m_bLibOpen )<br />
{<br />
   PostQuitMessage(SC_CLOSE);<br />
}<br />
<br />
AfxGetMainWnd()->PostMessage(WM_CLOSE, 0, 0);<br />


This does seem to close multiple dialogs opened by my DLL, along with my main app, but somehow, it still doesn't seem "clean" to me.

I'm playing around with EnumChildWindows now...
Question[Message Deleted] Pin
AJKU BUIUBIUA23-Oct-06 4:36
AJKU BUIUBIUA23-Oct-06 4:36 
AnswerRe: reading from files under Linux Pin
Cedric Moonen23-Oct-06 4:41
Cedric Moonen23-Oct-06 4:41 
AnswerRe: reading from files under Linux Pin
Nemanja Trifunovic23-Oct-06 4:43
Nemanja Trifunovic23-Oct-06 4:43 
AnswerRe: reading from files under Linux Pin
Eric Dahlvang23-Oct-06 4:54
Eric Dahlvang23-Oct-06 4:54 
General[Message Deleted] Pin
AJKU BUIUBIUA23-Oct-06 5:34
AJKU BUIUBIUA23-Oct-06 5:34 
GeneralRe: reading from files under Linux Pin
Zac Howland23-Oct-06 7:33
Zac Howland23-Oct-06 7:33 
GeneralRe: reading from files under Linux Pin
Eric Dahlvang23-Oct-06 6:38
Eric Dahlvang23-Oct-06 6:38 
AnswerRe: reading from files under Linux Pin
kakan23-Oct-06 19:54
professionalkakan23-Oct-06 19:54 
QuestionLNK4006 - double definition ?! Pin
Mr.Brainley23-Oct-06 3:41
Mr.Brainley23-Oct-06 3:41 
AnswerRe: LNK4006 - double definition ?! Pin
Chris Losinger23-Oct-06 4:16
professionalChris Losinger23-Oct-06 4:16 
GeneralRe: LNK4006 - double definition ?! Pin
Mr.Brainley23-Oct-06 4:37
Mr.Brainley23-Oct-06 4:37 
GeneralRe: LNK4006 - double definition ?! Pin
Chris Losinger23-Oct-06 4:44
professionalChris Losinger23-Oct-06 4:44 
GeneralRe: LNK4006 - double definition ?! Pin
Mr.Brainley23-Oct-06 4:55
Mr.Brainley23-Oct-06 4:55 
QuestionKnowing/Logging which programs have been launched [modified] Pin
OddArne23-Oct-06 0:33
OddArne23-Oct-06 0:33 
AnswerRe: Knowing/Logging which programs have been launched Pin
TClarke23-Oct-06 5:43
TClarke23-Oct-06 5:43 
GeneralRe: Knowing/Logging which programs have been launched Pin
OddArne23-Oct-06 22:58
OddArne23-Oct-06 22:58 
GeneralRe: Knowing/Logging which programs have been launched Pin
TClarke24-Oct-06 3:37
TClarke24-Oct-06 3:37 

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.