Click here to Skip to main content
14,484,788 members

C / C++ / MFC

 
QuestionRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
CPallini25-Jan-10 0:23
mveCPallini25-Jan-10 0:23 
AnswerRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Nilesh Hamane25-Jan-10 0:46
MemberNilesh Hamane25-Jan-10 0:46 
GeneralRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Rajesh R Subramanian25-Jan-10 1:18
professionalRajesh R Subramanian25-Jan-10 1:18 
AnswerRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Code-o-mat25-Jan-10 3:13
MemberCode-o-mat25-Jan-10 3:13 
QuestionDialog created in Taskbar Pin
Anu_Bala24-Jan-10 23:21
MemberAnu_Bala24-Jan-10 23:21 
AnswerRe: Dialog created in Taskbar Pin
LunaticFringe25-Jan-10 0:35
MemberLunaticFringe25-Jan-10 0:35 
GeneralRe: Dialog created in Taskbar Pin
Anu_Bala25-Jan-10 1:03
MemberAnu_Bala25-Jan-10 1:03 
QuestionX,Y of maximised window Pin
Anu_Bala24-Jan-10 22:30
MemberAnu_Bala24-Jan-10 22:30 
Hi,
I edited OnGetMaxMininfo() function to change display size when i maximize the child window like below

int XBorder = GetSystemMetrics(SM_CXMAXIMIZED);
int YBorder = GetSystemMetrics(SM_CYMAXIMIZED);
lpMMI->ptMaxTrackSize.x = XBorder-50;
lpMMI->ptMaxTrackSize.y = YBorder-40;

It comes fine.But what i want is the position of window is from 50,50
Ex:
Left :50,Top:50,Width:XBorder-50,Height:Border-40

How can i get that?
I use
lpMMI->ptMaxPosition.x=50;
lpMMI->ptMaxPosition.y=50;


But no use?
Pls help me.

Anu

AnswerRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:15
mveCPallini24-Jan-10 23:15 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:33
MemberAnu_Bala24-Jan-10 23:33 
QuestionRe: X,Y of maximised window Pin
Nelek24-Jan-10 23:38
protectorNelek24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:38
mveCPallini24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:57
MemberAnu_Bala24-Jan-10 23:57 
QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 0:05
mveCPallini25-Jan-10 0:05 
AnswerRe: X,Y of maximised window Pin
Anu_Bala25-Jan-10 0:45
MemberAnu_Bala25-Jan-10 0:45 
QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 1:29
mveCPallini25-Jan-10 1:29 
QuestionAccess to a POP3 mailbox: Windows Messaging and Collaboration Pin
VictorSotnikov24-Jan-10 22:20
MemberVictorSotnikov24-Jan-10 22:20 
AnswerRe: Access to a POP3 mailbox: Windows Messaging and Collaboration Pin
Rozis25-Jan-10 12:10
MemberRozis25-Jan-10 12:10 
Questioninitialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:21
MemberMadan Chauhan24-Jan-10 19:21 
QuestionRe: initialize disk using c++ code Pin
Adam Roderick J24-Jan-10 19:36
MemberAdam Roderick J24-Jan-10 19:36 
AnswerRe: initialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:42
MemberMadan Chauhan24-Jan-10 19:42 
QuestionHow to convert a CString object to char array in VC++ MFC Pin
Member 439977124-Jan-10 19:17
MemberMember 439977124-Jan-10 19:17 
AnswerRe: How to convert a CString object to char array in VC++ MFC [modified] Pin
Adam Roderick J24-Jan-10 19:23
MemberAdam Roderick J24-Jan-10 19:23 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Cedric Moonen24-Jan-10 20:23
MemberCedric Moonen24-Jan-10 20:23 
GeneralRe: How to convert a CString object to char array in VC++ MFC Pin
Adam Roderick J24-Jan-10 20:59
MemberAdam Roderick J24-Jan-10 20:59 

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.