Click here to Skip to main content
15,896,606 members

Comments by Cool Dude-P (Top 8 by date)

Cool Dude-P 19-Jun-20 4:48am View    
Hi Rick
Thanks for reply i want to set position of cursor to current x,y position what are ways we can do that.
Cool Dude-P 19-Jun-20 4:48am View    
Deleted
Hi Rick
Thanks for reply i want to set position of cursor to current x,y position what are ways we can do that.
Cool Dude-P 17-Jun-20 23:38pm View    
CRect rc;
CPoint point;
::GetCursorPos(&point);

CEdit* pt = (CEdit*)GetDlgItem(IDC_SOMEID);
pt->GetWindowRect(&rc);
pt->ScreenToClient(rc);

DWORD dEditcontrol = pt->SendMessage(EM_CHARFROMPOS,(WPARAM)0,(LPARAM)&point);
int CharPostrion = HIWORD(dEditcontrol);
int CharPo = LOWORD(dEditcontrol);

Still getting same Result as (65535, 65535)
Cool Dude-P 19-Jun-13 5:32am View    
I am able to zoom in when i am not placing my SWF file...
Cool Dude-P 19-Jun-13 5:30am View    
My Activex control cantain login page...I have placed picture control in that i m trying to zoom in Bitmap image