Click here to Skip to main content
15,905,229 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: converting my MFC .exe project to DLL file Pin
Alexander M.,29-Jul-05 4:29
Alexander M.,29-Jul-05 4:29 
GeneralRe: converting my MFC .exe project to DLL file Pin
bees202431-Jul-05 21:31
bees202431-Jul-05 21:31 
GeneralTextOut function Pin
Abd.Eskandari29-Jul-05 0:11
Abd.Eskandari29-Jul-05 0:11 
GeneralRe: TextOut function Pin
Alexander M.,29-Jul-05 4:12
Alexander M.,29-Jul-05 4:12 
GeneralRe: TextOut function Pin
David Crow29-Jul-05 5:41
David Crow29-Jul-05 5:41 
GeneralVS.NET How to add overloaded MFC functions Pin
Adrian Metcalfe28-Jul-05 23:56
Adrian Metcalfe28-Jul-05 23:56 
GeneralRe: VS.NET How to add overloaded MFC functions Pin
Jack Puppy29-Jul-05 0:22
Jack Puppy29-Jul-05 0:22 
GeneralMDI-MainFrame REAL available client area Pin
Russell'28-Jul-05 23:35
Russell'28-Jul-05 23:35 
Hello All,
I need to add a function to a MFC-MDI Application to size automatically the subframe's size.
Exactly something like tile-horizontally/vertically, but with the difference that I want to choose every window position and height/width, (IMPORTANT) using a fraction of the available space.
To do this at the moment I set the frame size with 'MoveWindow', and I get the available client area with 'AfxGetMainWnd->GetWindowPlacement'; but this function doesn't cut from the available client area the statusbar/toolbars.
Is there a way to know the REAL available client area without manually search the space occuped from the statusbar or toolbar (that are not constant)?Confused | :confused:
To be more clear: my temporary solution is to Minimize all -1 windows, and call MDITile(MDITILE_VERTICAL), at this point this window's size is exacly the CRect (with GetWindowPlacement) that I'm searcing, so I can do by myself the others windows sizing. I don't like this solution because this cause too many windows moviments (and it is quite slow).

:-DThanks to everybody wants to help me!Big Grin | :-D
GeneralDLL + COM Question Pin
peterchen28-Jul-05 23:35
peterchen28-Jul-05 23:35 
GeneralRe: DLL + COM Question Pin
Alexander M.,29-Jul-05 4:20
Alexander M.,29-Jul-05 4:20 
GeneralCustom CFiledialog Pin
Thierry Lebrun28-Jul-05 23:29
Thierry Lebrun28-Jul-05 23:29 
GeneralRe: Custom CFiledialog Pin
Halawlaws29-Jul-05 1:11
Halawlaws29-Jul-05 1:11 
GeneralRe: Custom CFiledialog Pin
Thierry Lebrun29-Jul-05 1:25
Thierry Lebrun29-Jul-05 1:25 
GeneralRe: Custom CFiledialog Pin
David Crow29-Jul-05 5:49
David Crow29-Jul-05 5:49 
GeneralRe: Custom CFiledialog Pin
Thierry Lebrun29-Jul-05 6:27
Thierry Lebrun29-Jul-05 6:27 
GeneralRe: Custom CFiledialog Pin
David Crow29-Jul-05 6:45
David Crow29-Jul-05 6:45 
GeneralRe: Custom CFiledialog Pin
Thierry Lebrun29-Jul-05 7:29
Thierry Lebrun29-Jul-05 7:29 
GeneralRe: Custom CFiledialog Pin
Thierry Lebrun10-Aug-05 3:52
Thierry Lebrun10-Aug-05 3:52 
GeneralRe: Custom CFiledialog Pin
Thierry Lebrun11-Aug-05 1:45
Thierry Lebrun11-Aug-05 1:45 
GeneralTimer handler for 1 ms Pin
Member 202517628-Jul-05 22:02
Member 202517628-Jul-05 22:02 
GeneralRe: Timer handler for 1 ms Pin
Marc Soleda28-Jul-05 22:15
Marc Soleda28-Jul-05 22:15 
GeneralRe: Timer handler for 1 ms Pin
peterchen28-Jul-05 23:40
peterchen28-Jul-05 23:40 
Generalbscmake crashing at #import <mshtml.tlb> Pin
rrrado28-Jul-05 22:00
rrrado28-Jul-05 22:00 
Generalsolved Pin
rrrado29-Jul-05 2:39
rrrado29-Jul-05 2:39 
GeneralDisabling CROSS button on dialog Pin
Shailesh Halankar28-Jul-05 21:14
sussShailesh Halankar28-Jul-05 21:14 

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.