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

C / C++ / MFC

 
GeneralRe: How can I do a Dynamic Array like CByteArray for a STRUCT array ? Pin
Fazlul Kabir6-Oct-01 18:06
Fazlul Kabir6-Oct-01 18:06 
GeneralCListView with a Timer Pin
daniel995-Oct-01 10:14
daniel995-Oct-01 10:14 
GeneralRe: CListView with a Timer Pin
Andres Manggini5-Oct-01 10:43
Andres Manggini5-Oct-01 10:43 
QuestionHow do I use CButton::Create() to make a push button check box? Pin
Bart-Man5-Oct-01 10:12
Bart-Man5-Oct-01 10:12 
AnswerRe: How do I use CButton::Create() to make a push button check box? Pin
Fazlul Kabir5-Oct-01 10:17
Fazlul Kabir5-Oct-01 10:17 
GeneralRe: How do I use CButton::Create() to make a push button check box? Pin
Bart-Man5-Oct-01 10:22
Bart-Man5-Oct-01 10:22 
AnswerFinal Solution Pin
Bart-Man5-Oct-01 10:55
Bart-Man5-Oct-01 10:55 
GeneralConnect() timeout Pin
Alex Griffing5-Oct-01 9:27
Alex Griffing5-Oct-01 9:27 
When I do

CSocket sock;
sock.Connect(place_that_doesn't_exist);

Connect waits like half a minute before returning. I could do some kind of multithreading or overlapped IO completion ports (neither of which I have any experience with) but it would work for me just to have it return after a second or two if it can't connect. I was thinking along the lines of something like

sock.SetTimeout(500_milliseconds);
or
setsockopt(sock.m_socket, SO_TIMEOUT, 500_milliseconds);

Any suggestions? Thanks!
- Alex Griffing

GeneralOverriding CWndClassInfo in ATL Pin
5-Oct-01 8:05
suss5-Oct-01 8:05 
GeneralDisplay attributes Pin
john john mackey5-Oct-01 7:32
john john mackey5-Oct-01 7:32 
GeneralRe: Display attributes Pin
5-Oct-01 7:36
suss5-Oct-01 7:36 
GeneralDisabling item in CListCtrl Pin
5-Oct-01 7:02
suss5-Oct-01 7:02 
GeneralRe: Disabling item in CListCtrl Pin
Masaaki Onishi5-Oct-01 9:59
Masaaki Onishi5-Oct-01 9:59 
GeneralCreating window like Taskbar Pin
5-Oct-01 6:57
suss5-Oct-01 6:57 
GeneralRe: Creating window like Taskbar Pin
Michael Dunn5-Oct-01 8:27
sitebuilderMichael Dunn5-Oct-01 8:27 
GeneralRe: Creating window like Taskbar Pin
Ravi Bhavnani6-Oct-01 8:02
professionalRavi Bhavnani6-Oct-01 8:02 
GeneralRe: Creating window like Taskbar Pin
Michael P Butler6-Oct-01 9:05
Michael P Butler6-Oct-01 9:05 
GeneralAfxTrace without MFC Pin
Steven Mitcham5-Oct-01 5:37
Steven Mitcham5-Oct-01 5:37 
GeneralRe: AfxTrace without MFC Pin
Chris Losinger5-Oct-01 5:48
professionalChris Losinger5-Oct-01 5:48 
GeneralRe: AfxTrace without MFC Pin
Steven Mitcham5-Oct-01 8:06
Steven Mitcham5-Oct-01 8:06 
GeneralRe: AfxTrace without MFC Pin
Chris Losinger5-Oct-01 8:11
professionalChris Losinger5-Oct-01 8:11 
GeneralRe: AfxTrace without MFC Pin
Steven Mitcham5-Oct-01 8:28
Steven Mitcham5-Oct-01 8:28 
GeneralRe: AfxTrace without MFC Pin
Michael Dunn5-Oct-01 8:28
sitebuilderMichael Dunn5-Oct-01 8:28 
Generalabout hook in vc! Pin
5-Oct-01 4:53
suss5-Oct-01 4:53 
GeneralRe: about hook in vc! Pin
Paolo Messina5-Oct-01 11:12
professionalPaolo Messina5-Oct-01 11:12 

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.