Click here to Skip to main content
15,904,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert Pin
Pavel Klocek14-Sep-02 6:19
Pavel Klocek14-Sep-02 6:19 
GeneralRe: convert Pin
Shotgun14-Sep-02 6:19
Shotgun14-Sep-02 6:19 
GeneralRe: convert Pin
Pavel Klocek14-Sep-02 6:26
Pavel Klocek14-Sep-02 6:26 
GeneralProblem Pin
Anonymous14-Sep-02 5:47
Anonymous14-Sep-02 5:47 
GeneralRe: Problem Pin
Mike Nordell14-Sep-02 7:36
Mike Nordell14-Sep-02 7:36 
QuestionMDITile - when, where? Pin
FlyingWren14-Sep-02 5:06
FlyingWren14-Sep-02 5:06 
AnswerRe: MDITile - when, where? Pin
Pavel Klocek14-Sep-02 5:34
Pavel Klocek14-Sep-02 5:34 
AnswerRe: MDITile - when, where? Pin
Neville Franks14-Sep-02 23:00
Neville Franks14-Sep-02 23:00 
FlyingWren wrote:
I have an application with an MDI Doc/View architecture, and I want to call MDITile() every time I open a new unique document, so that it automatically tiles all documents.

Problem is, when I call it from within CMainFrame::PreCreateWindow, i keep getting assertion errors (wrong object type). Also, having problems getting a handle to CMDIFrameWnd() outside of my mainframe.cpp file.


CMainFrame::PreCreateWindow() is way too early. Have a look at doing it in CChildFrame::ActivateFrame()

Neville Franks, Author of ED for Windows. www.getsoft.com
Generalarray manipulation Pin
Intellect55914-Sep-02 4:22
Intellect55914-Sep-02 4:22 
GeneralRe: array manipulation Pin
Pavel Klocek14-Sep-02 4:42
Pavel Klocek14-Sep-02 4:42 
GeneralRe: array manipulation Pin
Brian Delahunty14-Sep-02 4:42
Brian Delahunty14-Sep-02 4:42 
GeneralRe: array manipulation Pin
Anders Molin14-Sep-02 13:19
professionalAnders Molin14-Sep-02 13:19 
GeneralRe: array manipulation Pin
Brian Delahunty16-Sep-02 7:33
Brian Delahunty16-Sep-02 7:33 
GeneralRe: array manipulation Pin
Mike Nordell14-Sep-02 7:42
Mike Nordell14-Sep-02 7:42 
GeneralResizing a control in a dialog Pin
Tinky Winky14-Sep-02 2:20
Tinky Winky14-Sep-02 2:20 
GeneralRe: Resizing a control in a dialog Pin
Pavel Klocek14-Sep-02 2:58
Pavel Klocek14-Sep-02 2:58 
QuestionGet button? Pin
William Payne14-Sep-02 2:03
William Payne14-Sep-02 2:03 
AnswerRe: Get button? Pin
Anonymous14-Sep-02 8:07
Anonymous14-Sep-02 8:07 
General"Runtime error occured. Do you wish to debug?" Pin
BlackSmith14-Sep-02 1:03
BlackSmith14-Sep-02 1:03 
GeneralRe: "Runtime error occured. Do you wish to debug?" Pin
Pavel Klocek14-Sep-02 1:19
Pavel Klocek14-Sep-02 1:19 
GeneralUnable to load ClassView info into the workspace. Pin
WREY14-Sep-02 0:57
WREY14-Sep-02 0:57 
GeneralRe: Unable to load ClassView info into the workspace. Pin
User 2237014-Sep-02 1:11
User 2237014-Sep-02 1:11 
GeneralRe: Unable to load ClassView info into the workspace. Pin
Gary R. Wheeler14-Sep-02 5:50
Gary R. Wheeler14-Sep-02 5:50 
GeneralRe: Unable to load ClassView info into the workspace. Pin
WREY14-Sep-02 9:55
WREY14-Sep-02 9:55 
Generalconnect Pin
Anonymous14-Sep-02 0:47
Anonymous14-Sep-02 0:47 

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.