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

C / C++ / MFC

 
Questionhow to catch console message Pin
Gongya Yu9-Oct-06 19:27
Gongya Yu9-Oct-06 19:27 
AnswerRe: how to catch console message Pin
Galatei10-Oct-06 2:31
Galatei10-Oct-06 2:31 
GeneralRe: how to catch console message Pin
Gongya Yu10-Oct-06 5:04
Gongya Yu10-Oct-06 5:04 
QuestionHow can we add the PNG images to Dialog boxes and other controls Pin
johnalek9-Oct-06 19:18
johnalek9-Oct-06 19:18 
AnswerRe: How can we add the PNG images to Dialog boxes and other controls Pin
Hamid_RT9-Oct-06 19:40
Hamid_RT9-Oct-06 19:40 
GeneralRe: How can we add the PNG images to Dialog boxes and other controls Pin
johnalek9-Oct-06 19:58
johnalek9-Oct-06 19:58 
GeneralRe: How can we add the PNG images to Dialog boxes and other controls Pin
Hamid_RT9-Oct-06 20:16
Hamid_RT9-Oct-06 20:16 
QuestionBug when restoring state of docked windows Pin
lastgen9-Oct-06 19:16
lastgen9-Oct-06 19:16 
related article - http://www.codeproject.com/wtl/wtldockingwindows.asp?df=100&forumid=3244&select=1705076&msg=1705076[^]

QUOTE -
Flying tabs are not restored properly And68rei 7:16 21 Oct '04

I played with MDIExSample.exe and discovered one troublesome bug.
1) take one of flying windows and move it outside of main window (e.g. <<1>>)
2) take another one (<<<2>>>) and attach it to first window (<<1>>), so they form tab control in separate window.
3) close the application
4) start it again. After restoring of windows' locations those 2 windows are lying one under another and don't form tab control anymore...
So, restoring works fine if tab control with some windows lies inside main window, and not if outside.



I have encountered the same problem in something that I am working on. I have looked at/compiled(in VS 2003.net) the source code in this article and can confirm that this docking bug occurs in this example. I'm not sure what zerozerofancy is talking about, as with my copy of stdafx.h there is no reference to sstate.h nor dwstate.h and the code in dbstate.h seems to already be "CDockWndMgrEx mgrDockWnds(m_hWnd)"

Anybody know what the cause is and how to fix it?

When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!

AnswerRe: Bug when restoring state of docked windows Pin
Rajesh R Subramanian10-Oct-06 0:16
professionalRajesh R Subramanian10-Oct-06 0:16 
GeneralRe: Bug when restoring state of docked windows Pin
lastgen12-Oct-06 15:42
lastgen12-Oct-06 15:42 
QuestionAvoiding redefinition of INT8 Pin
Padmanabh Sharma9-Oct-06 19:05
Padmanabh Sharma9-Oct-06 19:05 
AnswerRe: Avoiding redefinition of INT8 Pin
Hamid_RT9-Oct-06 19:14
Hamid_RT9-Oct-06 19:14 
GeneralRe: Avoiding redefinition of INT8 Pin
Padmanabh Sharma9-Oct-06 19:34
Padmanabh Sharma9-Oct-06 19:34 
AnswerRe: Avoiding redefinition of INT8 Pin
jhwurmbach10-Oct-06 5:31
jhwurmbach10-Oct-06 5:31 
QuestionHardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:00
Padmanabh Sharma9-Oct-06 19:00 
AnswerRe: Hardware details without using WMI Pin
Hamid_RT9-Oct-06 19:12
Hamid_RT9-Oct-06 19:12 
GeneralRe: Hardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:32
Padmanabh Sharma9-Oct-06 19:32 
GeneralRe: Hardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:38
Padmanabh Sharma9-Oct-06 19:38 
GeneralRe: Hardware details without using WMI Pin
Hamid_RT10-Oct-06 19:23
Hamid_RT10-Oct-06 19:23 
GeneralRe: Hardware details without using WMI Pin
Hamid_RT9-Oct-06 19:38
Hamid_RT9-Oct-06 19:38 
QuestionUsing Advise in HtmlDocument obtained from a CHtmlView Pin
georgekjolly9-Oct-06 18:19
georgekjolly9-Oct-06 18:19 
QuestionThousands separator Pin
apffal9-Oct-06 14:24
apffal9-Oct-06 14:24 
AnswerRe: Thousands separator Pin
Nibu babu thomas9-Oct-06 17:40
Nibu babu thomas9-Oct-06 17:40 
AnswerRe: Thousands separator Pin
apffal10-Oct-06 12:11
apffal10-Oct-06 12:11 
QuestionWaitForSingleObject Pin
P1P3R9-Oct-06 13:54
P1P3R9-Oct-06 13:54 

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.