Click here to Skip to main content
15,898,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Attributes Pin
Rajesh R Subramanian21-Jan-08 21:09
professionalRajesh R Subramanian21-Jan-08 21:09 
Generalwhat's going on here ? [modified] Pin
Chris Losinger21-Jan-08 14:58
professionalChris Losinger21-Jan-08 14:58 
QuestionRe: what's going on here ? Pin
David Crow21-Jan-08 15:50
David Crow21-Jan-08 15:50 
GeneralRe: what's going on here ? Pin
Stephen Hewitt21-Jan-08 17:04
Stephen Hewitt21-Jan-08 17:04 
GeneralRe: what's going on here ? [modified] Pin
SandipG 21-Jan-08 23:31
SandipG 21-Jan-08 23:31 
GeneralReading in a DIB Raw AVI video Pin
bankai12321-Jan-08 13:10
bankai12321-Jan-08 13:10 
GeneralRe: Reading in a DIB Raw AVI video Pin
Chris Losinger21-Jan-08 15:18
professionalChris Losinger21-Jan-08 15:18 
QuestionGet caret position from text window on IE Pin
tal111121-Jan-08 11:28
tal111121-Jan-08 11:28 
Hello, I have tried to use the following code in order to get the caret position from another applications windows

dwCaretID = GetWindowThreadProcessId(hCaret,NULL);

if (AttachThreadInput(dwCurrentID,dwCaretID,TRUE))
{
GUITHREADINFO lpgui;
lpgui.cbSize = sizeof(GUITHREADINFO);
GetGUIThreadInfo(dwCaretID,&pgui);
RECT caret_rect = lpgui.rcCaret;
}

The caret position is being retrieved successfully in some of the applications I tested, but in Internet Explorer although I get the caret window, the caret rect is (0,0,0,0).
Does somebody have an idea how can I get the right position?
Thank you very much.
T.R.
GeneralRe: Get caret position from text window on IE Pin
bob1697221-Jan-08 14:51
bob1697221-Jan-08 14:51 
GeneralRe: Get caret position from text window on IE Pin
Stephen Hewitt21-Jan-08 17:33
Stephen Hewitt21-Jan-08 17:33 
GeneralRe: Get caret position from text window on IE Pin
tal111121-Jan-08 22:00
tal111121-Jan-08 22:00 
QuestionHow to fiquire in Leap Year Pin
Larry Mills Sr21-Jan-08 8:40
Larry Mills Sr21-Jan-08 8:40 
AnswerRe: How to fiquire in Leap Year Pin
Wes Aday21-Jan-08 9:11
professionalWes Aday21-Jan-08 9:11 
AnswerRe: How to fiquire in Leap Year Pin
bob1697221-Jan-08 9:22
bob1697221-Jan-08 9:22 
GeneralRe: How to fiquire in Leap Year Pin
Larry Mills Sr21-Jan-08 13:57
Larry Mills Sr21-Jan-08 13:57 
GeneralRe: How to fiquire in Leap Year Pin
David Crow21-Jan-08 15:57
David Crow21-Jan-08 15:57 
QuestionLogout/Login or Fast User Switch via code? Pin
Barry Etter21-Jan-08 7:56
Barry Etter21-Jan-08 7:56 
AnswerRe: Logout/Login or Fast User Switch via code? Pin
Karismatic21-Jan-08 17:26
Karismatic21-Jan-08 17:26 
Generalfast qsort implementation Pin
Mohammad A Gdeisat21-Jan-08 7:48
Mohammad A Gdeisat21-Jan-08 7:48 
QuestionRe: fast qsort implementation Pin
Maximilien21-Jan-08 8:08
Maximilien21-Jan-08 8:08 
GeneralRe: fast qsort implementation Pin
Mohammad A Gdeisat21-Jan-08 8:37
Mohammad A Gdeisat21-Jan-08 8:37 
QuestionRe: fast qsort implementation Pin
David Crow21-Jan-08 8:11
David Crow21-Jan-08 8:11 
GeneralRe: fast qsort implementation Pin
Mohammad A Gdeisat21-Jan-08 8:38
Mohammad A Gdeisat21-Jan-08 8:38 
QuestionRe: fast qsort implementation Pin
bob1697221-Jan-08 8:50
bob1697221-Jan-08 8:50 
QuestionRe: fast qsort implementation Pin
CPallini21-Jan-08 9:52
mveCPallini21-Jan-08 9:52 

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.