Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTo Display the percentage font inside a "Progress Bar" Pin
Neel Abraham23-Feb-03 17:13
Neel Abraham23-Feb-03 17:13 
GeneralRe: To Display the percentage font inside a "Progress Bar" Pin
valikac23-Feb-03 17:46
valikac23-Feb-03 17:46 
QuestionHow to Update numbers in an editbox control on the fly "OnMouseMove" Pin
Neel Abraham23-Feb-03 17:10
Neel Abraham23-Feb-03 17:10 
AnswerRe: How to Update numbers in an editbox control on the fly "onmousemove" Pin
HENDRIK R24-Feb-03 0:49
HENDRIK R24-Feb-03 0:49 
GeneralCChecklistbox having trouble painting Pin
brandon187923-Feb-03 14:54
brandon187923-Feb-03 14:54 
GeneralRe: CChecklistbox having trouble painting Pin
brandon187923-Feb-03 17:31
brandon187923-Feb-03 17:31 
QuestionDoes WS_TABSTOP works on CWnd classes? Pin
Miguel Lopes23-Feb-03 14:42
Miguel Lopes23-Feb-03 14:42 
AnswerRe: Does WS_TABSTOP works on CWnd classes? Pin
Chris Richardson23-Feb-03 17:33
Chris Richardson23-Feb-03 17:33 
I think it should work with a CWnd. To set the tab order dynamically, call SetWindowPos, like this

pWindowBefore->SetWindowPos( pWindowAfter, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE );


where you want pWindowAfter to be the control that gets tabbed to when pWindowBefore has the focus and the user hits Tab.

Creation order should set the initial tab order, so if you create your controls in the order that they should be tabbed between, you should be OK. If you are using a fully custom control, there's some wierd issues with focus (like needing to manually call SetFocus when you get a WM_LBUTTONDOWN). I can't really remember the specifics, but mess around with the SetFocus, and see where it takes you.

Chris Richardson

C/C++ Include Finder[^]
QuestionHow do i make something execute in VS .NET? Pin
silversnake05 a.k.a. Michael23-Feb-03 14:29
susssilversnake05 a.k.a. Michael23-Feb-03 14:29 
AnswerRe: How do i make something execute in VS .NET? Pin
Chris Losinger23-Feb-03 18:39
professionalChris Losinger23-Feb-03 18:39 
AnswerRe: How do i make something execute in VS .NET? Pin
Jon Hulatt23-Feb-03 22:03
Jon Hulatt23-Feb-03 22:03 
GeneralRe: How do i make something execute in VS .NET? Pin
Anonymous24-Feb-03 8:18
Anonymous24-Feb-03 8:18 
GeneralOnFileNew() Question... Pin
JoeSox23-Feb-03 13:27
JoeSox23-Feb-03 13:27 
GeneralRe: OnFileNew() Question... Pin
HENDRIK R23-Feb-03 23:19
HENDRIK R23-Feb-03 23:19 
GeneralRe: OnFileNew() Question... Pin
JoeSox24-Feb-03 10:02
JoeSox24-Feb-03 10:02 
GeneralRe: OnFileNew() Question... Pin
HENDRIK R24-Feb-03 21:06
HENDRIK R24-Feb-03 21:06 
GeneralRe: OnFileNew() Question... Pin
JoeSox25-Feb-03 4:56
JoeSox25-Feb-03 4:56 
GeneralOff-screen bitmap drawing while printing and print previewing Pin
cdsmith23-Feb-03 13:25
cdsmith23-Feb-03 13:25 
GeneralRe: Off-screen bitmap drawing while printing and print previewing Pin
Chris Losinger23-Feb-03 14:50
professionalChris Losinger23-Feb-03 14:50 
GeneralRe: Off-screen bitmap drawing while printing and print previewing Pin
Roger Allen24-Feb-03 1:09
Roger Allen24-Feb-03 1:09 
QuestionPossible to use CFontDialog in PropertySheet? Pin
michael thomas23-Feb-03 12:42
michael thomas23-Feb-03 12:42 
AnswerRe: Possible to use CFontDialog in PropertySheet? Pin
valikac23-Feb-03 15:20
valikac23-Feb-03 15:20 
AnswerRe: Possible to use CFontDialog in PropertySheet? Pin
ROK_RShadow23-Feb-03 17:24
ROK_RShadow23-Feb-03 17:24 
AnswerRe: Possible to use CFontDialog in PropertySheet? Pin
Joan M23-Feb-03 21:40
professionalJoan M23-Feb-03 21:40 
GeneralBinary Heap implementation Pin
GabyGirl23-Feb-03 12:41
GabyGirl23-Feb-03 12:41 

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.