Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to free memory, used by resources Pin
led mike31-Oct-06 4:52
led mike31-Oct-06 4:52 
AnswerRe: How to free memory, used by resources Pin
Kiomuto31-Oct-06 5:39
Kiomuto31-Oct-06 5:39 
QuestionCMDIChildWnd Pin
baerten30-Oct-06 23:36
baerten30-Oct-06 23:36 
AnswerRe: CMDIChildWnd Pin
Mark Salsbery31-Oct-06 4:37
Mark Salsbery31-Oct-06 4:37 
GeneralRe: CMDIChildWnd Pin
baerten31-Oct-06 4:53
baerten31-Oct-06 4:53 
GeneralRe: CMDIChildWnd Pin
Mark Salsbery31-Oct-06 5:20
Mark Salsbery31-Oct-06 5:20 
GeneralRe: CMDIChildWnd Pin
baerten1-Nov-06 23:12
baerten1-Nov-06 23:12 
GeneralRe: CMDIChildWnd Pin
Mark Salsbery2-Nov-06 7:39
Mark Salsbery2-Nov-06 7:39 
baerten wrote:
if i click on the Wordkspace, the modeless-Dialog disappears and
the Frame rests open.
Because Dialogs are another windows, which are displayed as a new element on the Windows TaskBar.
is it possible to change it?


The only style flags you need are (WS_CHILD | WS_VISIBLE) for the imbedded modeless dialog.
That means on the dialog's property sheet (edit the dialog, hit F4 key) the "Style" setting
should be Child (not Popup or Overlapped) and the "Visible" setting should be set to true.
All other settings can probably be false. That should fix the "new element on the Windows
TaskBar" problem.

By the way, check out CFormView class for using controls based on a dialog template in a view.

To get access to the frame window at create time, check out the MFC source code for
CMultiDocTemplate::OpenDocumentFile(). You can do the same steps and have access to the frame
window pointer at create time.
GeneralRe: CMDIChildWnd [modified] Pin
baerten2-Nov-06 22:48
baerten2-Nov-06 22:48 
QuestionHelp and Hints needed / Motion Tracking Pin
luedfe30-Oct-06 23:34
luedfe30-Oct-06 23:34 
AnswerRe: Help and Hints needed / Motion Tracking Pin
Waldermort30-Oct-06 23:53
Waldermort30-Oct-06 23:53 
GeneralRe: Help and Hints needed / Motion Tracking Pin
luedfe31-Oct-06 2:10
luedfe31-Oct-06 2:10 
GeneralRe: Help and Hints needed / Motion Tracking Pin
Waldermort31-Oct-06 3:40
Waldermort31-Oct-06 3:40 
Questionhelp1 Pin
Kiethnt30-Oct-06 23:31
Kiethnt30-Oct-06 23:31 
Answera little off topic, but... Pin
toxcct30-Oct-06 23:41
toxcct30-Oct-06 23:41 
AnswerRe: help1 Pin
Hamid_RT31-Oct-06 0:20
Hamid_RT31-Oct-06 0:20 
JokeRe: help1 Pin
toxcct31-Oct-06 0:21
toxcct31-Oct-06 0:21 
GeneralRe: help1 Pin
Hamid_RT31-Oct-06 0:55
Hamid_RT31-Oct-06 0:55 
AnswerRe: help1 Pin
ThatsAlok31-Oct-06 5:00
ThatsAlok31-Oct-06 5:00 
QuestionHelp Pin
Kiethnt30-Oct-06 23:27
Kiethnt30-Oct-06 23:27 
AnswerRe: Help Pin
Waldermort30-Oct-06 23:50
Waldermort30-Oct-06 23:50 
GeneralRe: Help Pin
Hamid_RT31-Oct-06 0:31
Hamid_RT31-Oct-06 0:31 
GeneralRe: Help Pin
ThatsAlok31-Oct-06 4:32
ThatsAlok31-Oct-06 4:32 
AnswerRe: Help Pin
Hamid_RT31-Oct-06 0:30
Hamid_RT31-Oct-06 0:30 
Questionsplit a dialog Pin
radhika2830-Oct-06 23:16
radhika2830-Oct-06 23:16 

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.