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

C / C++ / MFC

 
GeneralRe: Problem with header file -MAC Address Pin
Member 11501766-Jun-04 22:59
Member 11501766-Jun-04 22:59 
GeneralRe: Problem with header file -MAC Address Pin
Member 11501767-Jun-04 1:44
Member 11501767-Jun-04 1:44 
GeneralRe: Problem with header file -MAC Address Pin
David Crow7-Jun-04 2:24
David Crow7-Jun-04 2:24 
QuestionHow to dynamically remove/add pages in Wizard mode? Pin
Member 4148776-Jun-04 20:00
Member 4148776-Jun-04 20:00 
GeneralShellExe to execute any exe ,,,, what si to close it Pin
Zeeshan Bilal6-Jun-04 19:11
Zeeshan Bilal6-Jun-04 19:11 
GeneralRe: ShellExe to execute any exe ,,,, what si to close it Pin
Anthony_Yio6-Jun-04 20:42
Anthony_Yio6-Jun-04 20:42 
GeneralRe: ShellExe to execute any exe ,,,, what si to close it Pin
Zeeshan Bilal6-Jun-04 20:56
Zeeshan Bilal6-Jun-04 20:56 
GeneralRe: ShellExe to execute any exe ,,,, what si to close it Pin
Antony M Kancidrowski6-Jun-04 22:39
Antony M Kancidrowski6-Jun-04 22:39 
QuestionCAN i access Video Camera through COM port Pin
Zeeshan Bilal6-Jun-04 18:22
Zeeshan Bilal6-Jun-04 18:22 
Generaltoolobar question Pin
User 5838526-Jun-04 18:20
User 5838526-Jun-04 18:20 
GeneralRe: toolobar question Pin
Michael Dunn6-Jun-04 19:48
sitebuilderMichael Dunn6-Jun-04 19:48 
GeneralMSDataGrid Pin
Alton Williams6-Jun-04 18:07
Alton Williams6-Jun-04 18:07 
Questionwill this be compiler(M$ cl) bug or Memory leakage? Pin
DengJW6-Jun-04 17:14
DengJW6-Jun-04 17:14 
AnswerRe: will this be compiler(MS cl) bug or Memory leakage? Pin
Michael Dunn6-Jun-04 19:56
sitebuilderMichael Dunn6-Jun-04 19:56 
GeneralRe: will this be compiler(MS cl) bug or Memory leakage? Pin
DengJW6-Jun-04 20:06
DengJW6-Jun-04 20:06 
GeneralMoveWindow shrinking my dialog Pin
Vadim Tabakman6-Jun-04 14:04
Vadim Tabakman6-Jun-04 14:04 
GeneralRe: MoveWindow shrinking my dialog Pin
Anthony_Yio6-Jun-04 17:07
Anthony_Yio6-Jun-04 17:07 
GeneralRe: MoveWindow shrinking my dialog Pin
Vadim Tabakman6-Jun-04 18:07
Vadim Tabakman6-Jun-04 18:07 
GeneralRe: MoveWindow shrinking my dialog Pin
Anthony_Yio6-Jun-04 20:37
Anthony_Yio6-Jun-04 20:37 
Your previous codes uses GetClientRect.

Would it because in the process of calculation you have missed out nonclient area (including the title and scroll bars) if you are using GetClientRect?

And I noticed that CRect and RECT structure has slighly different data type members

typedef struct tagRECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT;


If you use CRect function size(), width() and height(). It will return int instead of LONG which could cast the value away. (Although I don't think that will happen)

hope this helps.

Sonork 100.41263:Anthony_Yio

GeneralRe: MoveWindow shrinking my dialog Pin
Vadim Tabakman7-Jun-04 16:15
Vadim Tabakman7-Jun-04 16:15 
GeneralRe: MoveWindow shrinking my dialog Pin
User 5838526-Jun-04 18:48
User 5838526-Jun-04 18:48 
Questionhow can I change the color of status bar Pin
woyaojinqu6-Jun-04 13:14
woyaojinqu6-Jun-04 13:14 
AnswerRe: how can I change the color of status bar Pin
bneacetp6-Jun-04 13:35
bneacetp6-Jun-04 13:35 
AnswerRe: how can I change the color of status bar Pin
Cedric Moonen6-Jun-04 20:43
Cedric Moonen6-Jun-04 20:43 
QuestionHow to support Drag 'n Drop out of ZIP archive onto an Applications window / Desktop program icon ? Pin
Defenestration6-Jun-04 11:57
Defenestration6-Jun-04 11:57 

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.