Click here to Skip to main content
15,915,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple instances and opening files Pin
Neville Franks17-Oct-03 22:58
Neville Franks17-Oct-03 22:58 
GeneralRe: Multiple instances and opening files Pin
Joe Woodbury18-Oct-03 4:37
professionalJoe Woodbury18-Oct-03 4:37 
GeneralMS Access ODBC Pin
Edward Tompkins17-Oct-03 11:29
Edward Tompkins17-Oct-03 11:29 
GeneralRe: MS Access ODBC Pin
Small Rat17-Oct-03 17:58
Small Rat17-Oct-03 17:58 
GeneralRe: MS Access ODBC Pin
Anonymous17-Oct-03 20:39
Anonymous17-Oct-03 20:39 
GeneralPROBLEMS WITH OWNERDRAW Pin
Rafael Fernández López17-Oct-03 10:51
Rafael Fernández López17-Oct-03 10:51 
GeneralRe: PROBLEMS WITH OWNERDRAW Pin
igor196017-Oct-03 11:52
igor196017-Oct-03 11:52 
GeneralRe: PROBLEMS WITH OWNERDRAW Pin
Rafael Fernández López17-Oct-03 12:17
Rafael Fernández López17-Oct-03 12:17 
I tried that too, now I'm trying another thing that seems that is going to work... I have all progress bars on a CMap object, so I get one-by-one its rect with this:

CPoint now;

now.x = GetCurrentMessage()->pt.x;
now.y = GetCurrentMessage()->pt.y;

I calculate with a loop all rects and with this function:

CRect whatever;

bool is_or_not = whatever.isPtRect(now);

If is_or_not is 1, I know that my cursor is on one of the progress bar and through CMap I get its index. Could be that way ??

Thanks in advance. Smile | :)


MaestroProgramador.Com

Where every source code is loved like a girl.
GeneralRe: PROBLEMS WITH OWNERDRAW Pin
igor196017-Oct-03 12:33
igor196017-Oct-03 12:33 
GeneralRe: PROBLEMS WITH OWNERDRAW Pin
Rafael Fernández López17-Oct-03 12:50
Rafael Fernández López17-Oct-03 12:50 
GeneralNMAKE win32.mak not found Pin
Kuniva17-Oct-03 10:41
Kuniva17-Oct-03 10:41 
GeneralToolbar event Pin
Small Rat17-Oct-03 10:32
Small Rat17-Oct-03 10:32 
GeneralRe: Toolbar event Pin
Rafael Fernández López17-Oct-03 10:40
Rafael Fernández López17-Oct-03 10:40 
GeneralRe: Toolbar event Pin
Rafael Fernández López17-Oct-03 10:43
Rafael Fernández López17-Oct-03 10:43 
GeneralRe: Toolbar event Pin
Small Rat17-Oct-03 10:44
Small Rat17-Oct-03 10:44 
GeneralRe: Toolbar event Pin
Rafael Fernández López17-Oct-03 10:57
Rafael Fernández López17-Oct-03 10:57 
GeneralRe: Toolbar event Pin
Small Rat17-Oct-03 11:05
Small Rat17-Oct-03 11:05 
GeneralRe: Toolbar event Pin
Rafael Fernández López17-Oct-03 11:17
Rafael Fernández López17-Oct-03 11:17 
GeneralRe: Toolbar event Pin
Small Rat17-Oct-03 11:22
Small Rat17-Oct-03 11:22 
GeneralGetProcessMemoryInfo Pin
keb17-Oct-03 9:47
keb17-Oct-03 9:47 
Questionsafe to close a modeless with EndDialog? Pin
ns17-Oct-03 9:43
ns17-Oct-03 9:43 
AnswerRe: safe to close a modeless with EndDialog? Pin
Michael Dunn17-Oct-03 18:34
sitebuilderMichael Dunn17-Oct-03 18:34 
GeneralRe: safe to close a modeless with EndDialog? Pin
nss18-Oct-03 2:33
nss18-Oct-03 2:33 
GeneralEdit control question Pin
DougW4817-Oct-03 9:33
DougW4817-Oct-03 9:33 
GeneralRe: Edit control question Pin
Joaquín M López Muñoz17-Oct-03 9:56
Joaquín M López Muñoz17-Oct-03 9:56 

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.