Click here to Skip to main content
15,900,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateDIBSection() is failing Pin
ash_hdr26-Aug-13 2:22
ash_hdr26-Aug-13 2:22 
GeneralRe: CreateDIBSection() is failing Pin
Richard MacCutchan26-Aug-13 4:08
mveRichard MacCutchan26-Aug-13 4:08 
GeneralRe: CreateDIBSection() is failing Pin
pasztorpisti26-Aug-13 4:31
pasztorpisti26-Aug-13 4:31 
GeneralRe: CreateDIBSection() is failing Pin
Richard MacCutchan26-Aug-13 4:41
mveRichard MacCutchan26-Aug-13 4:41 
GeneralRe: CreateDIBSection() is failing Pin
pasztorpisti26-Aug-13 4:46
pasztorpisti26-Aug-13 4:46 
SuggestionRe: CreateDIBSection() is failing Pin
pasztorpisti25-Aug-13 0:26
pasztorpisti25-Aug-13 0:26 
AnswerRe: CreateDIBSection() is failing Pin
Chris Losinger26-Aug-13 8:14
professionalChris Losinger26-Aug-13 8:14 
QuestionNew Document Window Placement [SOLVED] Pin
Richard Andrew x6424-Aug-13 13:51
professionalRichard Andrew x6424-Aug-13 13:51 
I have an SDI application that uses a CFrameWndEx main window and has several CDockingPane's inside of it.

The problem is that when I choose to create a new document, the Framework automatically resets the size of the CFrameWndEx to some fixed value that is stored somewhere (I don't know where.)

How can I disable this "feature?" I want the frame window to remain the same size when a new document is created.

EDIT:

The solution was to remove the call to ResizeParentToFit() in the view's OnInitialUpdate().



The difficult we do right away...
...the impossible takes slightly longer.


modified 26-Aug-13 0:11am.

QuestionShell Icon Pin
Richard Andrew x6424-Aug-13 9:08
professionalRichard Andrew x6424-Aug-13 9:08 
AnswerRe: Shell Icon Pin
pasztorpisti24-Aug-13 9:27
pasztorpisti24-Aug-13 9:27 
GeneralRe: Shell Icon Pin
Richard Andrew x6424-Aug-13 12:40
professionalRichard Andrew x6424-Aug-13 12:40 
GeneralRe: Shell Icon Pin
pasztorpisti25-Aug-13 0:24
pasztorpisti25-Aug-13 0:24 
QuestionMore CProperyPage blues – CEdit control Pin
Vaclav_23-Aug-13 16:54
Vaclav_23-Aug-13 16:54 
QuestionRe: More CProperyPage blues – CEdit control Pin
David Crow24-Aug-13 4:36
David Crow24-Aug-13 4:36 
AnswerRe: More CProperyPage blues – CEdit control Pin
Vaclav_24-Aug-13 5:17
Vaclav_24-Aug-13 5:17 
AnswerRe: More CProperyPage blues – CEdit control Pin
Vaclav_24-Aug-13 16:44
Vaclav_24-Aug-13 16:44 
QuestionI need some advice for a Python app calling a C++ library function. Pin
icestatue23-Aug-13 10:52
icestatue23-Aug-13 10:52 
AnswerRe: I need some advice for a Python app calling a C++ library function. Pin
pasztorpisti23-Aug-13 11:20
pasztorpisti23-Aug-13 11:20 
GeneralRe: I need some advice for a Python app calling a C++ library function. Pin
icestatue26-Aug-13 7:12
icestatue26-Aug-13 7:12 
GeneralRe: I need some advice for a Python app calling a C++ library function. Pin
pasztorpisti26-Aug-13 7:18
pasztorpisti26-Aug-13 7:18 
Questionhelp help help Pin
Member 1022775823-Aug-13 3:23
Member 1022775823-Aug-13 3:23 
AnswerRe: help help help Pin
Richard MacCutchan23-Aug-13 4:27
mveRichard MacCutchan23-Aug-13 4:27 
AnswerRe: help help help Pin
Chris Losinger23-Aug-13 4:47
professionalChris Losinger23-Aug-13 4:47 
Questionchess Pin
Raymond505658422-Aug-13 13:17
Raymond505658422-Aug-13 13:17 
AnswerRe: chess Pin
bryce22-Aug-13 13:24
bryce22-Aug-13 13:24 

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.