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

C / C++ / MFC

 
GeneralPretty Print Pin
Steven Gregg21-Aug-02 0:42
Steven Gregg21-Aug-02 0:42 
GeneralRe: Pretty Print Pin
silverspoon21-Aug-02 1:25
silverspoon21-Aug-02 1:25 
GeneralCTabCtrl Pin
silverspoon21-Aug-02 0:35
silverspoon21-Aug-02 0:35 
GeneralRe: CTabCtrl Pin
Tomasz Sowinski21-Aug-02 0:37
Tomasz Sowinski21-Aug-02 0:37 
GeneralRe: CTabCtrl Pin
silverspoon21-Aug-02 0:45
silverspoon21-Aug-02 0:45 
GeneralRe: CTabCtrl Pin
Tomasz Sowinski21-Aug-02 1:10
Tomasz Sowinski21-Aug-02 1:10 
GeneralRe: CTabCtrl Pin
silverspoon21-Aug-02 1:07
silverspoon21-Aug-02 1:07 
GeneralHelp needed for FindWindow Pin
BK Pradeep21-Aug-02 0:03
BK Pradeep21-Aug-02 0:03 
Bit Lengthy pls spare time

Hello All,
Let me tell you the problem clearly.We have a third party Dialog Dll which is loaded into the current application process when we choose a menu item called "Insert Dialog".Now when the user clicks File|Exit the application used to crash telling that unhandled exception in the Dialog Dll.Since its a third party Dll we dont have the source code.
So the solution i have hit upon to avoid the crash is that when the user tries to close the application you check whether that dialog Editor is open through FindWindow and if so ask the user to close the dialog before the File exit.This is working absolutely fine and its not crashing.
But the new Problem is with FindWindow.If there is another instance of the application and in that too if a dialog is open and even though the dialog is closed in the current application FindWindow keeps telling Pls close the dialog before the exit(This is because its finding that dialog window is open in the other application)
Now my doubt is how to force the FindWindow to seach in the current instance of the application only and not in others???

Thanks a lot for the patient hearing..
Hope i get the solution.

Luv,
pradeep
GeneralRe: Help needed for FindWindow Pin
Tomasz Sowinski21-Aug-02 0:10
Tomasz Sowinski21-Aug-02 0:10 
GeneralRe: Help needed for FindWindow Pin
BK Pradeep21-Aug-02 0:50
BK Pradeep21-Aug-02 0:50 
GeneralRe: Help needed for FindWindow Pin
Tomasz Sowinski21-Aug-02 1:22
Tomasz Sowinski21-Aug-02 1:22 
GeneralRe: Help needed for FindWindow Pin
BK Pradeep21-Aug-02 4:12
BK Pradeep21-Aug-02 4:12 
GeneralOpenGL question Pin
pankajdaga20-Aug-02 23:59
pankajdaga20-Aug-02 23:59 
GeneralRe: OpenGL question Pin
Brian Azzopardi21-Aug-02 0:05
Brian Azzopardi21-Aug-02 0:05 
GeneralRe: OpenGL question Pin
lucy21-Aug-02 3:03
lucy21-Aug-02 3:03 
General~Font horizontal & vertical spacing~ Pin
BlackSmith20-Aug-02 23:47
BlackSmith20-Aug-02 23:47 
GeneralRe: ~Font horizontal & vertical spacing~ Pin
Tomasz Sowinski21-Aug-02 0:05
Tomasz Sowinski21-Aug-02 0:05 
QuestionHow to get WINS server address in WinNT, C++ application Pin
majk20-Aug-02 23:19
majk20-Aug-02 23:19 
AnswerRe: How to get WINS server address in WinNT, C++ application Pin
Lakitu20-Aug-02 23:33
Lakitu20-Aug-02 23:33 
GeneralRe: How to get WINS server address in WinNT, C++ application Pin
majk21-Aug-02 0:17
majk21-Aug-02 0:17 
GeneralRe: How to get WINS server address in WinNT, C++ application Pin
Daniel Lohmann21-Aug-02 2:19
Daniel Lohmann21-Aug-02 2:19 
GeneralRe: How to get WINS server address in WinNT, C++ application Pin
majk21-Aug-02 3:44
majk21-Aug-02 3:44 
Generaltransparent!!! Pin
wong190720-Aug-02 23:07
wong190720-Aug-02 23:07 
GeneralRe: transparent!!! Pin
Tomasz Sowinski20-Aug-02 23:25
Tomasz Sowinski20-Aug-02 23:25 
GeneralRe: transparent!!! Pin
mishgun20-Aug-02 23:51
mishgun20-Aug-02 23:51 

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.