Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting the cursor to change Pin
gordingin5-Feb-04 3:16
gordingin5-Feb-04 3:16 
GeneralRe: Getting the cursor to change Pin
basementman5-Feb-04 3:56
basementman5-Feb-04 3:56 
GeneralRe: Getting the cursor to change Pin
De Nardis Andrea5-Feb-04 3:58
De Nardis Andrea5-Feb-04 3:58 
GeneralApp version from CVS Pin
Jerome Conus5-Feb-04 2:39
Jerome Conus5-Feb-04 2:39 
GeneralCWnd::GetDlgCtrlID() Pin
фил5-Feb-04 1:20
фил5-Feb-04 1:20 
GeneralRe: CWnd::GetDlgCtrlID() Pin
BadJerry5-Feb-04 4:35
BadJerry5-Feb-04 4:35 
QuestionHow to control the connecting time in SOCKET? Pin
papaya_zm5-Feb-04 1:13
papaya_zm5-Feb-04 1:13 
AnswerRe: How to control the connecting time in SOCKET? Pin
SJolly5-Feb-04 3:22
SJolly5-Feb-04 3:22 
Before calling connect, add a call to set the socket up as non-blocking:

ULONG ulParam = 1;
ioctlsocket(m_hSocket, FIONBIO, &ulParam);

Then call connect as normal.

After calling connect, you can do a select (writing) with whatever timeout you want to see if the socket has connected - if the socket can be written to it is
connected.

Regards,
Simon

General1 Project (MFC Resource DLL), two .rc files containing icons, boom :-( Pin
ohadp5-Feb-04 0:19
ohadp5-Feb-04 0:19 
GeneralRe: 1 Project (MFC Resource DLL), two .rc files containing icons, boom :-( Pin
Mike Dimmick5-Feb-04 1:52
Mike Dimmick5-Feb-04 1:52 
GeneralRe: 1 Project (MFC Resource DLL), two .rc files containing icons, boom :-( Pin
ohadp5-Feb-04 2:01
ohadp5-Feb-04 2:01 
GeneralUnable to Create Controls on a CPropertyPage Pin
rpadrela5-Feb-04 0:05
rpadrela5-Feb-04 0:05 
GeneralRe: Unable to Create Controls on a CPropertyPage Pin
Anonymous5-Feb-04 10:07
Anonymous5-Feb-04 10:07 
QuestionCreating Vertical Propert y Sheets?? Pin
elza4-Feb-04 23:34
elza4-Feb-04 23:34 
QuestionData structure to be used ??? Pin
Jagadeesh VN4-Feb-04 23:28
Jagadeesh VN4-Feb-04 23:28 
AnswerRe: Data structure to be used ??? Pin
David Crow5-Feb-04 3:16
David Crow5-Feb-04 3:16 
GeneralRe: Data structure to be used ??? Pin
Jagadeesh VN5-Feb-04 18:23
Jagadeesh VN5-Feb-04 18:23 
GeneralRe: Data structure to be used ??? Pin
David Crow6-Feb-04 2:33
David Crow6-Feb-04 2:33 
GeneralArgument list to the batch file Pin
PrashantJ4-Feb-04 23:16
PrashantJ4-Feb-04 23:16 
GeneralRe: Argument list to the batch file Pin
Diddy4-Feb-04 23:27
Diddy4-Feb-04 23:27 
GeneralRe: Argument list to the batch file Pin
PrashantJ4-Feb-04 23:59
PrashantJ4-Feb-04 23:59 
GeneralRe: Argument list to the batch file Pin
David Crow5-Feb-04 3:22
David Crow5-Feb-04 3:22 
GeneralRe: Argument list to the batch file Pin
Diddy5-Feb-04 11:15
Diddy5-Feb-04 11:15 
GeneralRe: Argument list to the batch file Pin
David Crow13-Feb-04 4:40
David Crow13-Feb-04 4:40 
Generalhello world Pin
warbosspeter4-Feb-04 23:09
warbosspeter4-Feb-04 23:09 

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.