Click here to Skip to main content
15,916,838 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HtmlHelp Problem Pin
Theo Buys12-Jan-09 0:14
Theo Buys12-Jan-09 0:14 
QuestionHow can handle buttons of Preview window? Pin
Le@rner29-Dec-08 21:18
Le@rner29-Dec-08 21:18 
AnswerRe: How can handle buttons of Preview window? Pin
pallaka29-Dec-08 22:18
pallaka29-Dec-08 22:18 
GeneralRe: How can handle buttons of Preview window? Pin
Le@rner29-Dec-08 22:40
Le@rner29-Dec-08 22:40 
GeneralRe: How can handle buttons of Preview window? Pin
pallaka30-Dec-08 1:16
pallaka30-Dec-08 1:16 
GeneralRe: How can handle buttons of Preview window? Pin
Le@rner30-Dec-08 1:26
Le@rner30-Dec-08 1:26 
QuestionRemovable hard disk Pin
MsmVc29-Dec-08 20:55
MsmVc29-Dec-08 20:55 
QuestionHow to create child window in SDI application? Pin
Abhijit D. Babar29-Dec-08 20:24
Abhijit D. Babar29-Dec-08 20:24 
Hello All,

I am doing an SDI application in MFC(.Net 2008 platform). In my project, when i click on any button, i have to create a child window in the mainframe window. This child window having no caption, title bar, system menu. i want only border for that window. This child window will always be displayed on the Mainframe window, even i click anywhere on the mainframe window.

I have created window using Create() function and Set its position using SetWindowsPos() function. as follwing;

**************************
CFrameWnd* pFrame ;
pFrame = new CFrameWnd;

pFrame->Create(NULL,NULL, WS_OVERLAPPEDWINDOW ,rect,NULL,NULL,0,poContext);
pFrame->ModifyStyle(WS_CAPTION + WS_OVERLAPPEDWINDOW + WS_TILEDWINDOW, WS_BORDER,SWP_+ SWP_NOMOVE +SWP_NOZORDER );

pFrame->InitialUpdateFrame(pDocument,TRUE);
pFrame->SetWindowPos(&CWnd::wndTopMost,x,y,x1,y1,SWP_SHOWWINDOW);
pFrame->ActivateFrame(SW_SHOWNORMAL);

**************

Now the problem is that, when i minimize the Mainframe window, child window always be there on the screen. i want to minimize this child window also along with Mainframe window. How can i do this. Please give me any hint with the help of code.
Which flag i have to set while creating the window or in the SetWindowPos() function.?

Also when i create child window, its name is displayed on the taskbar, when it is created. I dont want to show this entery on the taskbar.

Thnaks in advance.
Questionhow to convert binary values into decimal by getting these values from dialog box? Pin
puppya29-Dec-08 20:14
puppya29-Dec-08 20:14 
AnswerRe: how to convert binary values into decimal by getting these values from dialog box? Pin
enhzflep29-Dec-08 20:48
enhzflep29-Dec-08 20:48 
GeneralRe: how to convert binary values into decimal by getting these values from dialog box? Pin
CPallini29-Dec-08 21:04
mveCPallini29-Dec-08 21:04 
Questionstd::map or stdex:hash_map Pin
Swinefeaster29-Dec-08 18:13
Swinefeaster29-Dec-08 18:13 
QuestionLinking to another project [SOLVED] Pin
Christian Flutcher29-Dec-08 17:17
Christian Flutcher29-Dec-08 17:17 
AnswerRe: Linking to another project [SOLVED] Pin
Cedric Moonen29-Dec-08 21:40
Cedric Moonen29-Dec-08 21:40 
GeneralRe: Linking to another project [SOLVED] Pin
Christian Flutcher30-Dec-08 1:12
Christian Flutcher30-Dec-08 1:12 
GeneralRe: Linking to another project [SOLVED] Pin
Cedric Moonen30-Dec-08 22:15
Cedric Moonen30-Dec-08 22:15 
QuestionNeed help with writing an audio stream in avi Pin
monoceres29-Dec-08 14:41
monoceres29-Dec-08 14:41 
QuestioncapCreateCaptureWindow - source code wanted Pin
Vaclav_29-Dec-08 8:21
Vaclav_29-Dec-08 8:21 
AnswerRe: capCreateCaptureWindow - source code wanted Pin
Randor 29-Dec-08 8:52
professional Randor 29-Dec-08 8:52 
GeneralRe: capCreateCaptureWindow - source code wanted Pin
Vaclav_30-Dec-08 7:09
Vaclav_30-Dec-08 7:09 
QuestionHow to find an Access violation error(involving CStringT) in 3rd Party program Pin
Larry Mills Sr29-Dec-08 6:37
Larry Mills Sr29-Dec-08 6:37 
GeneralRe: How to find an Access violation error(involving CStringT) in 3rd Party program Pin
CPallini29-Dec-08 7:56
mveCPallini29-Dec-08 7:56 
GeneralRe: How to find an Access violation error(involving CStringT) in 3rd Party program Pin
Randor 29-Dec-08 9:02
professional Randor 29-Dec-08 9:02 
GeneralRe: How to find an Access violation error(involving CStringT) in 3rd Party program Pin
Larry Mills Sr29-Dec-08 11:35
Larry Mills Sr29-Dec-08 11:35 
QuestionRandom seeding in C++ different to Java? Pin
c#_keithy29-Dec-08 6:16
c#_keithy29-Dec-08 6: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.