Click here to Skip to main content
15,917,321 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Embedded Sytems Pin
pix_programmer16-Aug-11 0:24
pix_programmer16-Aug-11 0:24 
GeneralRe: Embedded Sytems Pin
CPallini16-Aug-11 0:32
mveCPallini16-Aug-11 0:32 
QuestionMySQL and ODBC!? Pin
Hadi Dayvary13-Aug-11 8:31
professionalHadi Dayvary13-Aug-11 8:31 
AnswerRe: MySQL and ODBC!? Pin
jschell14-Aug-11 7:15
jschell14-Aug-11 7:15 
GeneralRe: MySQL and ODBC!? Pin
Hadi Dayvary14-Aug-11 7:19
professionalHadi Dayvary14-Aug-11 7:19 
GeneralRe: MySQL and ODBC!? Pin
jschell15-Aug-11 8:32
jschell15-Aug-11 8:32 
QuestionAbout Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474613-Aug-11 8:11
678474613-Aug-11 8:11 
AnswerRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Richard MacCutchan13-Aug-11 22:40
mveRichard MacCutchan13-Aug-11 22:40 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474613-Aug-11 23:01
678474613-Aug-11 23:01 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Richard MacCutchan13-Aug-11 23:19
mveRichard MacCutchan13-Aug-11 23:19 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474613-Aug-11 23:37
678474613-Aug-11 23:37 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Richard MacCutchan13-Aug-11 23:45
mveRichard MacCutchan13-Aug-11 23:45 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474614-Aug-11 0:08
678474614-Aug-11 0:08 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Cheongwadae14-Aug-11 4:12
Cheongwadae14-Aug-11 4:12 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474614-Aug-11 5:59
678474614-Aug-11 5:59 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Cheongwadae14-Aug-11 8:16
Cheongwadae14-Aug-11 8:16 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474614-Aug-11 16:14
678474614-Aug-11 16:14 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Richard MacCutchan14-Aug-11 6:46
mveRichard MacCutchan14-Aug-11 6:46 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474614-Aug-11 16:13
678474614-Aug-11 16:13 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
Richard MacCutchan14-Aug-11 21:32
mveRichard MacCutchan14-Aug-11 21:32 
GeneralRe: About Hook InternetConnectA and HttpOpenRequestA modify URLs Pin
678474615-Aug-11 8:47
678474615-Aug-11 8:47 
QuestionHow to get Actual CFormView Size - MFC Vs2010 Pin
UrbanBlues13-Aug-11 5:03
UrbanBlues13-Aug-11 5:03 
Here is an application base on a CTabView with 3 CFormView derived class.
I tracked down the size of one of the CFormView derived view (by calling GetWindowRect) and got the following:

CDataView::OnSize cx 938 cy 431 Width 938 Height 431
CDataView::OnSize cx 0 cy 0 Width 0 Height 0
CDataView::OnShowWindow
CDataView::OnShowWindow
CDataView::OnSize cx 972 cy 333 Width 989 Height 333
CDataView::OnSize cx 989 cy 333 Width 989 Height 333
CDataView::OnInitialUpdate Width 989 Height 333
CDataView::OnSize cx 939 cy 333 Width 956 Height 333
CDataView::OnSize cx 955 cy 371 Width 972 Height 371
CDataView::OnSize cx 0 cy 0 Width 0 Height 0
CDataView::OnSize cx 1174 cy 521 Width 1174 Height 521
CDataView::OnSize cx 1157 cy 521 Width 1174 Height 521

Before doing anything with the window, OnSize is called 9 times and the values of cx, cy, width and height changed several times ... How can I get the final and actual values ?
AnswerRe: How to get Actual CFormView Size - MFC Vs2010 Pin
Richard MacCutchan13-Aug-11 6:37
mveRichard MacCutchan13-Aug-11 6:37 
GeneralRe: How to get Actual CFormView Size - MFC Vs2010 Pin
UrbanBlues13-Aug-11 22:19
UrbanBlues13-Aug-11 22:19 
GeneralRe: How to get Actual CFormView Size - MFC Vs2010 Pin
Richard MacCutchan13-Aug-11 22:32
mveRichard MacCutchan13-Aug-11 22:32 

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.