Click here to Skip to main content
15,888,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 3:05
professionalRavi Bhavnani24-Feb-05 3:05 
GeneralRe: Packaging & Deploying C++ Application Pin
clav24-Feb-05 3:55
clav24-Feb-05 3:55 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 5:20
professionalRavi Bhavnani24-Feb-05 5:20 
GeneralRe: Packaging & Deploying C++ Application Pin
r3dqu33n24-Feb-05 7:57
r3dqu33n24-Feb-05 7:57 
GeneralChanging HeaderTitle/HeaderSubTitle in Wizard97 Pin
User 2237024-Feb-05 1:36
User 2237024-Feb-05 1:36 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
Blake Miller24-Feb-05 6:01
Blake Miller24-Feb-05 6:01 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
ThatsAlok24-Feb-05 17:16
ThatsAlok24-Feb-05 17:16 
GeneralSet view regions for controls Pin
Rahim Rattani24-Feb-05 1:06
Rahim Rattani24-Feb-05 1:06 
I want to set the view area for the controls.

For e.g. consider a button. I first create a button as.

CRect rc(0,0,20,20);<br />
CButton* pButton = new CButton();<br />
pButton->Create(_T("New Button"), WS_CHILD | BS_FLAT | WS_VISIBLE, rc, m_pMainWnd, 0);<br />
pButton->BringWindowToTop();<br />
pButton->MoveWindow(rc);


The above code creates a button at (0,0,20,20) of the main window.
Now wat i want to do is set the view area for the button control. i.e. if I set the view area to (10,10,20,20) then the button's portion for (0,0,10,10) is hidden from view and only half of the button is displayed. So How to set the view area of a control.

Thanx in advance.
QuestionCOlePropertyPage or Dialog Box? Pin
Anand for every one24-Feb-05 0:47
Anand for every one24-Feb-05 0:47 
GeneralProxy information Pin
Geert van Horrik23-Feb-05 23:29
Geert van Horrik23-Feb-05 23:29 
GeneralActive Document Pin
Pauwl23-Feb-05 21:23
Pauwl23-Feb-05 21:23 
QuestionHow to retrieve table name and field name from SQL server database Pin
reenacutie23-Feb-05 19:18
reenacutie23-Feb-05 19:18 
AnswerRe: How to retrieve table name and field name from SQL server database Pin
David Crow24-Feb-05 3:38
David Crow24-Feb-05 3:38 
AnswerRe: How to retrieve table name and field name from SQL server database Pin
RChin24-Feb-05 5:04
RChin24-Feb-05 5:04 
Questionhow to read macro code from doc file? Pin
boyboy23-Feb-05 19:17
boyboy23-Feb-05 19:17 
AnswerRe: how to read macro code from doc file? Pin
Member 175743823-Feb-05 23:47
Member 175743823-Feb-05 23:47 
GeneralRe: how to read macro code from doc file? Pin
4apai24-Feb-05 0:21
4apai24-Feb-05 0:21 
AnswerRe: how to read macro code from doc file? Pin
David Crow24-Feb-05 3:45
David Crow24-Feb-05 3:45 
Questionhow to show &quot;OpenWith dislog box&quot; Pin
tanvon malik23-Feb-05 18:35
tanvon malik23-Feb-05 18:35 
AnswerRe: how to show &quot;OpenWith dislog box&quot; Pin
Sheng Jiang 蒋晟23-Feb-05 19:15
Sheng Jiang 蒋晟23-Feb-05 19:15 
Generaloverloading across scopes Pin
vikramlinux23-Feb-05 17:58
vikramlinux23-Feb-05 17:58 
GeneralRe: overloading across scopes Pin
4apai24-Feb-05 0:19
4apai24-Feb-05 0:19 
GeneralRe: overloading across scopes Pin
vikramlinux24-Feb-05 0:29
vikramlinux24-Feb-05 0:29 
GeneralRe: overloading across scopes Pin
vishalmore24-Feb-05 1:08
vishalmore24-Feb-05 1:08 
GeneralRe: overloading across scopes Pin
Chris Meech24-Feb-05 5:33
Chris Meech24-Feb-05 5:33 

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.