Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Printing Pin
diseyi29-Oct-03 9:57
diseyi29-Oct-03 9:57 
GeneralRe: MFC Printing Pin
Steve S29-Oct-03 22:39
Steve S29-Oct-03 22:39 
GeneralControl window sizing... Pin
Nitron29-Oct-03 8:26
Nitron29-Oct-03 8:26 
GeneralNevermind... Pin
Nitron29-Oct-03 8:55
Nitron29-Oct-03 8:55 
GeneralRe: Nevermind... Pin
winalice29-Oct-03 9:37
winalice29-Oct-03 9:37 
GeneralRe: Nevermind... Pin
Nitron29-Oct-03 9:39
Nitron29-Oct-03 9:39 
GeneralRe: Control window sizing... Pin
winalice29-Oct-03 9:36
winalice29-Oct-03 9:36 
GeneralRe: Control window sizing... Pin
David Crow29-Oct-03 10:19
David Crow29-Oct-03 10:19 
Nitron wrote:
Does anyone know how to make a CDialog resizable in only 1 direction?

I was able to do it with:

void CMyDialog::OnSizing(UINT fwSide, LPRECT pRect) 
{
    CRect rc;
    GetWindowRect(rc);
 
    pRect->top    = rc.top;
    pRect->right  = rc.right;
    pRect->bottom = rc.bottom;
 
    CDialog::OnSizing(fwSide, pRect);	
}

Nitron wrote:
I would really like to disable the resizing arrows when the user tries to resize from any other side but 1.

I've seen this done before but forgot the details.


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

QuestionMerging menus? Pin
Dominik Reichl29-Oct-03 8:22
Dominik Reichl29-Oct-03 8:22 
AnswerRe: Merging menus? Pin
igor196029-Oct-03 10:45
igor196029-Oct-03 10:45 
GeneralCreateWindowEx is stupid and nonsensical Pin
super_matt29-Oct-03 7:56
super_matt29-Oct-03 7:56 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
alex.barylski29-Oct-03 10:03
alex.barylski29-Oct-03 10:03 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
super_matt29-Oct-03 11:17
super_matt29-Oct-03 11:17 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
Steve S29-Oct-03 22:43
Steve S29-Oct-03 22:43 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
David Crow30-Oct-03 2:18
David Crow30-Oct-03 2:18 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
Steve S30-Oct-03 4:49
Steve S30-Oct-03 4:49 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
David Crow30-Oct-03 2:20
David Crow30-Oct-03 2:20 
GeneralRe: CreateWindowEx is stupid and nonsensical Pin
super_matt30-Oct-03 7:50
super_matt30-Oct-03 7:50 
GeneralHelp - COM Ports Pin
raheela29-Oct-03 7:12
raheela29-Oct-03 7:12 
GeneralRe: Help - COM Ports Pin
David Crow29-Oct-03 7:26
David Crow29-Oct-03 7:26 
GeneralVisual C++.net Removing Member Variable Pin
mfcuser29-Oct-03 6:48
mfcuser29-Oct-03 6:48 
GeneralRe: Visual C++.net Removing Member Variable Pin
Peter Molnar29-Oct-03 13:53
Peter Molnar29-Oct-03 13:53 
Questionhow to get a list of ALL the truetype fonts Pin
JP GOBLET29-Oct-03 6:43
JP GOBLET29-Oct-03 6:43 
AnswerRe: how to get a list of ALL the truetype fonts Pin
David Crow29-Oct-03 7:21
David Crow29-Oct-03 7:21 
GeneralRe: how to get a list of ALL the truetype fonts Pin
JP GOBLET29-Oct-03 21:29
JP GOBLET29-Oct-03 21:29 

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.