Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TCP stack fragments incoming data in my client/server app Pin
Mark Salsbery23-Sep-07 9:14
Mark Salsbery23-Sep-07 9:14 
QuestionCLI pipe io - reading/ writing simultaneously Pin
higgsbo23-Sep-07 7:50
higgsbo23-Sep-07 7:50 
QuestionSOLVED CTabCtrl and spinner control - where is is documented? [modified] Pin
Vaclav_22-Sep-07 18:54
Vaclav_22-Sep-07 18:54 
AnswerRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 7:49
Mark Salsbery23-Sep-07 7:49 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Vaclav_23-Sep-07 12:49
Vaclav_23-Sep-07 12:49 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 12:58
Mark Salsbery23-Sep-07 12:58 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 13:29
Mark Salsbery23-Sep-07 13:29 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Vaclav_24-Sep-07 4:07
Vaclav_24-Sep-07 4:07 
Mark,
I finally found how it is done. It was under my nose all this time.
The style options / parameter TCS_SINGLELINE brings in horizontal spinner control when the tabs do not fit into frame - pure magic! Of course the documentation does not say that verbatim.

I am still hacking the downloaded code to find how to replace
tab painfully created from scratch with tab created using CTabCtrl.
For now I consider this post solved - thanks to you Mark.
You get a star!

Here it is:

CTabCtrl::Create(WS_CHILD|WS_VISIBLE|(m_bTop?0:TCS_BOTTOM)| TCS_SINGLELINE
|TCS_FOCUSNEVER|TCS_FORCEICONLEFT|WS_CLIPSIBLINGS,
CRect(0, 0, 0, 0), pFrame, 42);

Cheers
Vaclav

GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery24-Sep-07 6:09
Mark Salsbery24-Sep-07 6:09 
QuestionCheck Application Pin
Tjie Pouw22-Sep-07 18:21
Tjie Pouw22-Sep-07 18:21 
AnswerRe: Check Application Pin
Hamed Musavi22-Sep-07 22:17
Hamed Musavi22-Sep-07 22:17 
JokeRe: Check Application Pin
Sreedhar DV26-Sep-07 0:17
Sreedhar DV26-Sep-07 0:17 
JokeRe: Check Application Pin
Hamed Musavi26-Sep-07 1:20
Hamed Musavi26-Sep-07 1:20 
Questionmodeless dialog & threads Pin
Peter Weyzen22-Sep-07 17:31
Peter Weyzen22-Sep-07 17:31 
QuestionRe: modeless dialog & threads Pin
Hamed Musavi22-Sep-07 23:31
Hamed Musavi22-Sep-07 23:31 
AnswerRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 8:24
Mark Salsbery23-Sep-07 8:24 
QuestionRe: modeless dialog & threads Pin
David Crow23-Sep-07 9:06
David Crow23-Sep-07 9:06 
AnswerRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 9:24
Mark Salsbery23-Sep-07 9:24 
GeneralRe: modeless dialog & threads Pin
Peter Weyzen23-Sep-07 10:18
Peter Weyzen23-Sep-07 10:18 
GeneralRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 10:32
Mark Salsbery23-Sep-07 10:32 
GeneralThinking is overrated. Pin
Stephen Hewitt23-Sep-07 15:07
Stephen Hewitt23-Sep-07 15:07 
GeneralRe: Thinking is overrated. Pin
Mark Salsbery23-Sep-07 15:33
Mark Salsbery23-Sep-07 15:33 
AnswerRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 9:43
Mark Salsbery23-Sep-07 9:43 
GeneralRe: modeless dialog & threads Pin
David Crow23-Sep-07 10:10
David Crow23-Sep-07 10:10 
GeneralRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 10:27
Mark Salsbery23-Sep-07 10:27 

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.