Click here to Skip to main content
15,924,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl and selected rows in a dialog Pin
Peter Jones4-May-01 3:18
Peter Jones4-May-01 3:18 
GeneralDB_NUMERIC Pin
Nick Blumhardt3-May-01 14:19
Nick Blumhardt3-May-01 14:19 
GeneralRe: DB_NUMERIC Pin
Nick Blumhardt3-May-01 16:49
Nick Blumhardt3-May-01 16:49 
GeneralMulti-threaded exception Pin
3-May-01 13:16
suss3-May-01 13:16 
GeneralRe: Multi-threaded exception Pin
4-May-01 4:48
suss4-May-01 4:48 
QuestionMessages? Pin
XKent3-May-01 11:55
XKent3-May-01 11:55 
AnswerRe: Messages? Pin
3-May-01 17:47
suss3-May-01 17:47 
GeneralToolbar Button Invisible Pin
3-May-01 8:44
suss3-May-01 8:44 
In my project, I declared a toolbar button structure TBBUTTON as
TBBUTTON button;
and loaded up some bitmap buttons dynamically into the toolbar by using toolBarCtrl.InsertButton( 0, &button ); in a for loop.

Then I set TBBUTTON's state and style as
button.fsState = TBSTATE_ENABLED;
button.fsStyle = TBSTYLE_BUTTON;

The problem now is that only 2 out of 10 buttons are being displayed on the toolbar. The rest of the buttons somehow got hidden in the bar.
By resize the window a little bit or toggle toolbar(show/hide), all the buttons get showed up. Obviously all the buttons are loaded up properly at run time but some buttons are just stay back invisible. If I drag and move the window around rather than tweaking the window size, those buttons are still hiding in the background.

Any thoughts what might caused this problem? Any suggestions on how to resolve that?

Thanks,

AllisionCry | :((
GeneralSending windows messages for socket activity Pin
3-May-01 7:40
suss3-May-01 7:40 
GeneralRe: You need the good book about Socket Pin
Masaaki Onishi3-May-01 17:49
Masaaki Onishi3-May-01 17:49 
Generalbuttons have icon and caption (as "START") Pin
3-May-01 7:12
suss3-May-01 7:12 
GeneralRe: buttons have icon and caption (as Pin
Davide Calabro3-May-01 7:36
Davide Calabro3-May-01 7:36 
GeneralRe: buttons have icon and caption (as Pin
3-May-01 8:13
suss3-May-01 8:13 
GeneralRe: buttons have icon and caption (as Pin
Davide Calabro3-May-01 20:51
Davide Calabro3-May-01 20:51 
GeneralBitmap question Pin
3-May-01 6:52
suss3-May-01 6:52 
GeneralRe: Bitmap question Pin
Christian Graus3-May-01 13:20
protectorChristian Graus3-May-01 13:20 
GeneralRe: Bitmap question Pin
4-May-01 0:46
suss4-May-01 0:46 
GeneralHELP !!! comunication between dialogs! Pin
3-May-01 6:04
suss3-May-01 6:04 
GeneralRe: HELP !!! comunication between dialogs! Pin
Christian Graus3-May-01 13:24
protectorChristian Graus3-May-01 13:24 
GeneralRe: HELP !!! comunication between dialogs! Pin
Masaaki Onishi3-May-01 17:17
Masaaki Onishi3-May-01 17:17 
Generalsimple for statement can't work! Pin
hearties3-May-01 5:42
hearties3-May-01 5:42 
GeneralRe: simple for statement can't work! Pin
David Fedolfi3-May-01 5:46
David Fedolfi3-May-01 5:46 
General"Cannot open file mfc42u.lib" Pin
Peter Jones3-May-01 5:42
Peter Jones3-May-01 5:42 
GeneralRe: Pin
Michael Dunn3-May-01 6:41
sitebuilderMichael Dunn3-May-01 6:41 
GeneralRe: Pin
Peter Jones3-May-01 7:28
Peter Jones3-May-01 7:28 

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.