Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: password protect folder Pin
dazinith1-Apr-02 11:23
dazinith1-Apr-02 11:23 
GeneralRe: password protect folder Pin
Steven Richardson1-Apr-02 11:27
Steven Richardson1-Apr-02 11:27 
GeneralRe: password protect folder Pin
dazinith1-Apr-02 11:33
dazinith1-Apr-02 11:33 
GeneralRe: password protect folder Pin
alex.barylski1-Apr-02 15:52
alex.barylski1-Apr-02 15:52 
GeneralRe: password protect folder Pin
Mukkie2-Apr-02 5:54
Mukkie2-Apr-02 5:54 
GeneralMultithreading Pin
RK_20001-Apr-02 10:10
RK_20001-Apr-02 10:10 
GeneralRe: Multithreading Pin
Tim Smith1-Apr-02 10:20
Tim Smith1-Apr-02 10:20 
GeneralRe: Multithreading Pin
Paul M Watt1-Apr-02 10:33
mentorPaul M Watt1-Apr-02 10:33 
Is your window in the ptp structure part of your ThreadFunc, or the primary thread. Because it is generally not a good idea to call functions for a window, unless it is the same thread that owns the window. In most cases it will just not work.

Also, even if the function is setting the cursor to the wait cursor, the most likely reason that it is not showing is because the WM_SETCURSOR message handler is setting the cursor back the arrow.

What you can do is set a variable in your window object, then handle the WM_SETCURSOR message in your window. This message should call SetCursor() with the wait cursor while that certain bit is set, and pass the message to defwindowproc when that value is not set.
GeneralRe: Multithreading Pin
lucy9-Apr-02 9:29
lucy9-Apr-02 9:29 
GeneralRe: Multithreading Pin
Bill Wilson1-Apr-02 12:47
Bill Wilson1-Apr-02 12:47 
GeneralTFTP Server and Windows Sockets Pin
1-Apr-02 9:53
suss1-Apr-02 9:53 
GeneralRe: TFTP Server and Windows Sockets Pin
Joaquín M López Muñoz1-Apr-02 10:13
Joaquín M López Muñoz1-Apr-02 10:13 
GeneralRe: TFTP Server and Windows Sockets Pin
1-Apr-02 10:20
suss1-Apr-02 10:20 
GeneralRe: TFTP Server and Windows Sockets Pin
Dave_1-Apr-02 13:48
Dave_1-Apr-02 13:48 
GeneralFtp Upload Pin
Nnamdi Onyeyiri1-Apr-02 9:46
Nnamdi Onyeyiri1-Apr-02 9:46 
GeneralRe: Ftp Upload Pin
dazinith1-Apr-02 9:51
dazinith1-Apr-02 9:51 
GeneralRe: Ftp Upload Pin
Bill Wilson1-Apr-02 9:58
Bill Wilson1-Apr-02 9:58 
GeneralRe: Ftp Upload Pin
Nnamdi Onyeyiri1-Apr-02 23:54
Nnamdi Onyeyiri1-Apr-02 23:54 
Questionclistctrl question? Pin
jafrazee1-Apr-02 8:16
jafrazee1-Apr-02 8:16 
AnswerRe: clistctrl question? Pin
jafrazee1-Apr-02 9:17
jafrazee1-Apr-02 9:17 
QuestionCommand line parser for ATL or WTL? Pin
Todd Smith1-Apr-02 8:08
Todd Smith1-Apr-02 8:08 
AnswerRe: Command line parser for ATL or WTL? Pin
Tim Smith1-Apr-02 8:14
Tim Smith1-Apr-02 8:14 
AnswerRe: Command line parser for ATL or WTL? Pin
Chris Losinger1-Apr-02 8:22
professionalChris Losinger1-Apr-02 8:22 
GeneralRe: Command line parser for ATL or WTL? Pin
Todd Smith1-Apr-02 9:29
Todd Smith1-Apr-02 9:29 
GeneralIMPORTANT !!! READ THIS !!!! Pin
1-Apr-02 7:23
suss1-Apr-02 7:23 

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.