Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Large Document Pin
Anonymous24-Nov-04 9:55
Anonymous24-Nov-04 9:55 
GeneralCWinApp::OnFileNew Pin
Leyu24-Nov-04 6:17
Leyu24-Nov-04 6:17 
GeneralRe: CWinApp::OnFileNew Pin
Jack Puppy24-Nov-04 6:48
Jack Puppy24-Nov-04 6:48 
GeneralRe: CWinApp::OnFileNew Pin
Ryan Binns24-Nov-04 17:09
Ryan Binns24-Nov-04 17:09 
GeneralIcon at corner of dialog and prop sheet Pin
Anonymous24-Nov-04 5:46
Anonymous24-Nov-04 5:46 
GeneralRe: Icon at corner of dialog and prop sheet Pin
thowra24-Nov-04 6:33
thowra24-Nov-04 6:33 
GeneralRe: Icon at corner of dialog and prop sheet Pin
toxcct24-Nov-04 6:54
toxcct24-Nov-04 6:54 
QuestionMDI current active view: how to? Pin
Guy Lecomte24-Nov-04 5:38
Guy Lecomte24-Nov-04 5:38 
Hi I have an MDI application which deal with 3 types of document: let's say IMAGE, TEXT, SHEET. this is a classical doc/view architecture with multidoct emplate.
I'd like to have an modeless dialog which execute (when a button in this dialog is clicked) an action on the current topmost visible mdi child, only if it is an image. That means, if the current open window is a TEXT window, the button does nothing. But if it is a IMAGE window, it runs the process. How to get the actual topmost MDI view and its type? (in fact, I need a pointer to the actual topmost ImageView window)

BTW I've tried to maintain a ImageView pointer, called *currentView, which is set to the actual active ImageView but it does not work well because when the user closes the ImageView, the pointer is not set to the next open ImageView window (in this case we suppose there are several imageview window open).

Please, Help, I can't find a solution for those pb.
Thank you very much in advance
regards
Guy LECOMTE
AnswerRe: MDI current active view: how to? Pin
Joaquín M López Muñoz24-Nov-04 7:40
Joaquín M López Muñoz24-Nov-04 7:40 
GeneralRe: MDI current active view: how to? Pin
Guy Lecomte25-Nov-04 21:04
Guy Lecomte25-Nov-04 21:04 
GeneralMFC and Windows messages Pin
madretierra24-Nov-04 5:11
madretierra24-Nov-04 5:11 
GeneralPropertyPage help instantiating Pin
KingTermite24-Nov-04 4:30
KingTermite24-Nov-04 4:30 
GeneralRe: PropertyPage help instantiating Pin
Mike Danberg24-Nov-04 10:08
Mike Danberg24-Nov-04 10:08 
GeneralRe: PropertyPage help instantiating Pin
KingTermite30-Nov-04 4:24
KingTermite30-Nov-04 4:24 
GeneralThread sync will not compile Pin
Shay Harel24-Nov-04 4:24
Shay Harel24-Nov-04 4:24 
GeneralRe: Thread sync will not compile Pin
John M. Drescher24-Nov-04 5:14
John M. Drescher24-Nov-04 5:14 
GeneralRe: Thread sync will not compile Pin
Shay Harel24-Nov-04 5:47
Shay Harel24-Nov-04 5:47 
GeneralCDialog::DoModal in com. Assert failure when exiting doModal Pin
ido197524-Nov-04 4:19
ido197524-Nov-04 4:19 
Questionhow to use cryptography class in c++ Pin
Anonymous24-Nov-04 4:04
Anonymous24-Nov-04 4:04 
AnswerRe: how to use cryptography class in c++ Pin
John M. Drescher24-Nov-04 5:29
John M. Drescher24-Nov-04 5:29 
GeneralRe: CStatic Control Pin
John R. Shaw24-Nov-04 3:27
John R. Shaw24-Nov-04 3:27 
GeneralRe: CStatic Control Pin
Antony M Kancidrowski24-Nov-04 3:42
Antony M Kancidrowski24-Nov-04 3:42 
GeneralRe: CStatic Control Pin
namaskaaram24-Nov-04 20:42
namaskaaram24-Nov-04 20:42 
GeneralCStatic Control Pin
shijuck24-Nov-04 2:59
shijuck24-Nov-04 2:59 
GeneralMedia Player 10 ActiveX Problem Pin
X204024-Nov-04 2:51
X204024-Nov-04 2: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.