GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Feb-2005, 08:13
CaptnB CaptnB is offline
New Member
 
Join Date: Jan 2005
Posts: 16
CaptnB is on a distinguished road

Resizing controls


Hi,

I'm having a tab control in my view that I'd like to resize depending on the view size. I'm quite confused with all the GetRect functions (GetItemRect, GetClientRect, GetWindowRect, ...) and there seems to be no SetRect functions to resize my control. So I'm kind of stucked...

I'd first like to acquire the view rect, then substract a margin all around it and then apply it to my control but I can't figure out how to do it...

Thanks in advance!
__________________
CaptnB
 
 

Recent GIDBlogMeeting the populace by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
RichEdit Demo Max Payne MS Visual C++ / MFC Forum 3 06-Oct-2004 07:19
.NET Mobile Controls Device Update 3.0 Available at DiscountASP.NET dasp Web Hosting Advertisements & Offers 0 15-Sep-2003 16:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:18.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.