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

C / C++ / MFC

 
GeneralRe: drag&drop question Pin
dabs31-Oct-02 2:26
dabs31-Oct-02 2:26 
Generalcommand line parameters Pin
Shamoon30-Oct-02 22:39
Shamoon30-Oct-02 22:39 
GeneralRe: command line parameters Pin
Pit M.30-Oct-02 23:45
Pit M.30-Oct-02 23:45 
GeneralRe: command line parameters Pin
Shamoona31-Oct-02 2:24
Shamoona31-Oct-02 2:24 
GeneralRe: command line parameters Pin
Dudi Avramov31-Oct-02 5:19
Dudi Avramov31-Oct-02 5:19 
QuestionHow can I make a Tab control contains other controls placed over it Pin
Hamzeh30-Oct-02 22:30
Hamzeh30-Oct-02 22:30 
AnswerRe: How can I make a Tab control contains other controls placed over it Pin
Ravi Bhavnani31-Oct-02 1:36
professionalRavi Bhavnani31-Oct-02 1:36 
GeneralHelp: CStatic cotnrol don't change it's client rect when it's resized... Pin
Joan M30-Oct-02 21:56
professionalJoan M30-Oct-02 21:56 
Hello,

INTRODUCTION:
I'm trying to get autosizing property sheets, and what I do is to place a CStatic in the dialog in which I want the property sheet inserted.

I resize the CStatic when I resize the dialog and I send the WM_SIZE message to the Property sheet too.

In the property sheet WM_SIZE handler I get it's parent rectangle and call a SetWindowPos in order to resize the property sheet.

QUESTION:
Why the size of the rectangle of the Cstatic don't change? I Get always the same size.

As always thank you in advance...

CODE USED:
in the WM_SIZE handler of the property sheet.
<br />
CRect rectClientPare;<br />
this->GetParent()->GetClientRect(&rectClientPare);<br />
this->SetWindowPos(NULL,2,0,rectClientPare.Width(),rectClientPare.Height(),SWP_NOZORDER | SWP_NOACTIVATE);<br />

GeneralRe: Help: CStatic cotnrol don't change it's client rect when it's resized... Pin
dabs30-Oct-02 22:29
dabs30-Oct-02 22:29 
GeneralSTL (silly) Warings Pin
Jonathan de Halleux30-Oct-02 21:44
Jonathan de Halleux30-Oct-02 21:44 
GeneralRe: STL (silly) Warings Pin
Joaquín M López Muñoz30-Oct-02 22:02
Joaquín M López Muñoz30-Oct-02 22:02 
GeneralRe: STL (silly) Warings Pin
jamiehale31-Oct-02 3:54
jamiehale31-Oct-02 3:54 
GeneralRe: STL (silly) Warings Pin
Jonathan de Halleux4-Nov-02 1:06
Jonathan de Halleux4-Nov-02 1:06 
GeneralRe: STL (silly) Warings Pin
jhwurmbach31-Oct-02 4:17
jhwurmbach31-Oct-02 4:17 
GeneralGreat tool Pin
Jonathan de Halleux4-Nov-02 1:27
Jonathan de Halleux4-Nov-02 1:27 
GeneralMSN messenger add-in Pin
Philip Youhana30-Oct-02 20:59
sussPhilip Youhana30-Oct-02 20:59 
GeneralRe: MSN messenger add-in Pin
jerry0davis31-Oct-02 1:26
jerry0davis31-Oct-02 1:26 
GeneralC PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
DOUUG!!30-Oct-02 20:27
sussDOUUG!!30-Oct-02 20:27 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Christian Graus30-Oct-02 20:29
protectorChristian Graus30-Oct-02 20:29 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
DOUG!!!!!!!!!!!30-Oct-02 20:39
sussDOUG!!!!!!!!!!!30-Oct-02 20:39 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
DOUG TEH HEAHD!!30-Oct-02 20:42
sussDOUG TEH HEAHD!!30-Oct-02 20:42 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Christian Graus30-Oct-02 20:54
protectorChristian Graus30-Oct-02 20:54 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Mel Feik30-Oct-02 20:49
Mel Feik30-Oct-02 20:49 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Christian Graus30-Oct-02 20:52
protectorChristian Graus30-Oct-02 20:52 
GeneralRe: C PLUS PLUS!!!!!!!!! PLEZE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Mel Feik30-Oct-02 21:03
Mel Feik30-Oct-02 21:03 

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.