Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstarting help Pin
18-Sep-01 3:01
suss18-Sep-01 3:01 
GeneralRe: starting help Pin
Anders Molin18-Sep-01 6:33
professionalAnders Molin18-Sep-01 6:33 
Questionhow to get the method's address in the class? Pin
ac952_z_cn18-Sep-01 2:59
ac952_z_cn18-Sep-01 2:59 
AnswerRe: how to get the method's address in the class? Pin
Tomasz Sowinski18-Sep-01 3:15
Tomasz Sowinski18-Sep-01 3:15 
GeneralRe: how to get the method's address in the class? Pin
ac952_z_cn18-Sep-01 16:39
ac952_z_cn18-Sep-01 16:39 
AnswerRe: how to get the method's address in the class? Pin
Michael Dunn18-Sep-01 7:56
sitebuilderMichael Dunn18-Sep-01 7:56 
GeneralRe: how to get the method's address in the class? Pin
Tomasz Sowinski18-Sep-01 10:04
Tomasz Sowinski18-Sep-01 10:04 
GeneralResizing Controls Pin
AJ12318-Sep-01 2:08
AJ12318-Sep-01 2:08 
Hi,


I am resizing a CTabctrl in response to a WM_size. Basically I want the Tab Control to fill the entire window at all times.

My Code is as follows

CRect size;


GetClientRect(&size);


int iWndWidth = size.right;
int iWndHeight = size.bottom;

::SetWindowPos(m_tabs,0,0,0,iWndWidth-15,iWndHeight-15,SWP_NOMOVE | SWP_NOZORDER);

Can anyone tell me why i needed to subtract 15. By the way It's a CFormview i am working with.

Thanks In Advance

Rich
GeneralRe: Resizing Controls Pin
Tomasz Sowinski18-Sep-01 2:28
Tomasz Sowinski18-Sep-01 2:28 
GeneralRe: Resizing Controls Pin
Paul A. Howes18-Sep-01 3:02
Paul A. Howes18-Sep-01 3:02 
GeneralRe: Resizing Controls Pin
Tomasz Sowinski18-Sep-01 3:10
Tomasz Sowinski18-Sep-01 3:10 
GeneralRe: Resizing Controls Pin
Rashid Thadha18-Sep-01 3:43
Rashid Thadha18-Sep-01 3:43 
GeneralRe: Resizing Controls Pin
AJ12318-Sep-01 23:25
AJ12318-Sep-01 23:25 
GeneralIE arguments Pin
sleater18-Sep-01 1:49
sleater18-Sep-01 1:49 
GeneralRe: IE arguments Pin
Anders Molin18-Sep-01 2:02
professionalAnders Molin18-Sep-01 2:02 
GeneralRe: IE arguments Pin
sleater18-Sep-01 9:36
sleater18-Sep-01 9:36 
GeneralRe: IE arguments Pin
sleater18-Sep-01 9:39
sleater18-Sep-01 9:39 
GeneralRe: IE arguments Pin
Alvaro Mendez18-Sep-01 10:06
Alvaro Mendez18-Sep-01 10:06 
GeneralRe: IE arguments Pin
Anders Molin18-Sep-01 10:47
professionalAnders Molin18-Sep-01 10:47 
GeneralConvert centimeter to pixel Pin
18-Sep-01 1:13
suss18-Sep-01 1:13 
GeneralRe: Convert centimeter to pixel Pin
Christian Graus18-Sep-01 1:20
protectorChristian Graus18-Sep-01 1:20 
GeneralRe: Convert centimeter to pixel Pin
18-Sep-01 1:26
suss18-Sep-01 1:26 
GeneralRe: Convert centimeter to pixel Pin
Steen Krogsgaard18-Sep-01 2:18
Steen Krogsgaard18-Sep-01 2:18 
GeneralRe: Convert centimeter to pixel Pin
Tomasz Sowinski18-Sep-01 2:22
Tomasz Sowinski18-Sep-01 2:22 
GeneralRe: Convert centimeter to pixel Pin
18-Sep-01 7:31
suss18-Sep-01 7:31 

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.