|
-
September 19th, 1999, 11:03 AM
#1
Toolbar with multiline text
Is there a way to have multiple lines of text below the bitmap in a toolbar? I have tried using SetMaxTextRows. Setting DT_WORDBREAK in SetDrawTextFlags gets the \r in the string to not show up as a square, but still there is no second line.
toolBar.GetToolBarCtrl().SetMaxTextRows( 2 );
toolBar.GetToolBarCtrl().SetDrawTextFlags( 0xffffffff, DT_WORDBREAK | DT_EDITCONTROL );
toolBar.SetButtonText( 0, "Line1\rLine2" );
transferToolBar.SetSizes( CSize( 120, 100 ), CSize( 90, 36 ) );
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|