Click here to Skip to main content
16,014,838 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Derived class causes error Pin
BuckBrown21-Mar-06 3:15
BuckBrown21-Mar-06 3:15 
QuestionVC++ Express Edition 2005 Pin
thierrypp17-Mar-06 10:48
thierrypp17-Mar-06 10:48 
AnswerRe: VC++ Express Edition 2005 Pin
George L. Jackson17-Mar-06 12:03
George L. Jackson17-Mar-06 12:03 
GeneralRe: VC++ Express Edition 2005 Pin
thierrypp17-Mar-06 22:18
thierrypp17-Mar-06 22:18 
Questionrichedit controls Pin
Waldermort17-Mar-06 7:47
Waldermort17-Mar-06 7:47 
AnswerRe: richedit controls Pin
Waldermort17-Mar-06 8:26
Waldermort17-Mar-06 8:26 
QuestionTrackbar Control Pin
amanoullah17-Mar-06 7:44
amanoullah17-Mar-06 7:44 
AnswerRe: Trackbar Control Pin
Waldermort17-Mar-06 7:53
Waldermort17-Mar-06 7:53 
You need to include commctrl.h and link with comctl32.lib. You create a trackbar pretty much the same as any other control

InitCommonControls(); // loads common control's DLL 

    hwndTrack = CreateWindowEx( 
        0,                             // no extended styles 
        TRACKBAR_CLASS,                // class name 
        "Trackbar Control",            // title (caption) 
        WS_CHILD | WS_VISIBLE | 
        TBS_AUTOTICKS | TBS_ENABLESELRANGE,  // style 
        10, 10,                        // position 
        200, 30,                       // size 
        hwndDlg,                       // parent window 
        ID_TRACKBAR,             // control identifier 
        g_hinst,                       // instance 
        NULL                           // no WM_CREATE parameter 
        );

You can find a wealt of information here[^] regarding track bars and how to use them.
GeneralRe: Trackbar Control Pin
Ravi Bhavnani17-Mar-06 11:33
professionalRavi Bhavnani17-Mar-06 11:33 
QuestionWhere are IE favourites in registry Pin
Chintoo72317-Mar-06 6:10
Chintoo72317-Mar-06 6:10 
AnswerRe: Where are IE favourites in registry Pin
Michael Dunn17-Mar-06 6:53
sitebuilderMichael Dunn17-Mar-06 6:53 
QuestionHow do i create my own bitmap? Pin
woosoo17-Mar-06 5:23
woosoo17-Mar-06 5:23 
AnswerRe: How do i create my own bitmap? Pin
PJ Arends17-Mar-06 13:45
professionalPJ Arends17-Mar-06 13:45 
GeneralRe: How do i create my own bitmap? Pin
woosoo18-Mar-06 5:38
woosoo18-Mar-06 5:38 
Questionx ==> next biggest power of two Pin
peterchen17-Mar-06 5:06
peterchen17-Mar-06 5:06 
AnswerRe: x ==> next biggest power of two Pin
Chris Losinger17-Mar-06 5:10
professionalChris Losinger17-Mar-06 5:10 
GeneralRe: x ==> next biggest power of two Pin
peterchen17-Mar-06 6:07
peterchen17-Mar-06 6:07 
GeneralRe: x ==> next biggest power of two Pin
jhwurmbach17-Mar-06 6:51
jhwurmbach17-Mar-06 6:51 
GeneralRe: x ==> next biggest power of two Pin
peterchen17-Mar-06 13:06
peterchen17-Mar-06 13:06 
AnswerRe: x ==> next biggest power of two Pin
Gordon Brandly17-Mar-06 7:47
Gordon Brandly17-Mar-06 7:47 
AnswerRe: x ==> next biggest power of two Pin
krmed17-Mar-06 10:06
krmed17-Mar-06 10:06 
GeneralRe: x ==> next biggest power of two Pin
Jörgen Sigvardsson17-Mar-06 10:49
Jörgen Sigvardsson17-Mar-06 10:49 
GeneralRe: x ==> next biggest power of two Pin
peterchen17-Mar-06 13:09
peterchen17-Mar-06 13:09 
GeneralRe: x ==> next biggest power of two Pin
krmed18-Mar-06 3:21
krmed18-Mar-06 3:21 
AnswerRe: x ==> next biggest power of two Pin
David Crow17-Mar-06 16:42
David Crow17-Mar-06 16:42 

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.