Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: selection problem --- Pin
David Crow9-Aug-04 2:44
David Crow9-Aug-04 2:44 
GeneralRe: selection problem --- Pin
nainakhawaja9-Aug-04 2:52
nainakhawaja9-Aug-04 2:52 
GeneralRe: selection problem --- Pin
Stlan9-Aug-04 3:07
Stlan9-Aug-04 3:07 
GeneralRe: selection problem --- Pin
David Crow9-Aug-04 3:16
David Crow9-Aug-04 3:16 
GeneralRe: selection problem --- Pin
John R. Shaw9-Aug-04 4:08
John R. Shaw9-Aug-04 4:08 
GeneralDream project for D R M receivers Pin
samandmag9-Aug-04 1:59
samandmag9-Aug-04 1:59 
GeneralNon-uniform width button in toolbar Pin
gokings9-Aug-04 1:53
gokings9-Aug-04 1:53 
GeneralRe: Non-uniform width button in toolbar Pin
John R. Shaw9-Aug-04 4:35
John R. Shaw9-Aug-04 4:35 
You will need to derive your own class from CToolBar and override some of the functionality.

Here are the notes from my code to fix the drop down arrow problem:
// From: MFC Knowlege base
// BUG: Resizing CToolbar with Dropdown Arrow Buttons Freezes Apps
// ID: Q190501 

// From: Microsoft Systems Journal (Aug98CQA.zip)
// Problem: When using TBSTYLE_EX_DRAWDDARROWS and TBSTYLE_DROPDOWN
//          the right end of the toolbar gets cut off or if it is a
//          vertical toolbar the bottom gets cut off.
// Fix: CalcSize()
//
// From: John R. Shaw (Me)
// Problem: If you only fix CalcSize() the sizing calculations are
//          still wrong because WrapToolBar() uses the same invalid
//          width value used in CalcSize().
// Fix: WrapToolBar()


If you want I could zip up the code and send it to you. There is no garantee that it will solve your problem, but it would give you a good start.

INTP
GeneralRe: Non-uniform width button in toolbar Pin
gokings9-Aug-04 7:39
gokings9-Aug-04 7:39 
Generalsizeof(class) question Pin
kfaday9-Aug-04 1:43
kfaday9-Aug-04 1:43 
GeneralRe: sizeof(class) question Pin
gokings9-Aug-04 1:50
gokings9-Aug-04 1:50 
GeneralRe: sizeof(class) question Pin
kfaday9-Aug-04 13:15
kfaday9-Aug-04 13:15 
GeneralOperator for casting a class to void* Pin
kfaday9-Aug-04 1:40
kfaday9-Aug-04 1:40 
GeneralRe: Overloading Pin
4apai9-Aug-04 1:47
4apai9-Aug-04 1:47 
GeneralRe: Operator for casting a class to void* Pin
David Crow9-Aug-04 2:35
David Crow9-Aug-04 2:35 
GeneralRe: Operator for casting a class to void* Pin
kfaday9-Aug-04 13:14
kfaday9-Aug-04 13:14 
GeneralRe: Operator for casting a class to void* Pin
David Crow10-Aug-04 2:44
David Crow10-Aug-04 2:44 
GeneralDynamic Toolbar :sigh: Pin
rerereerer9-Aug-04 1:31
rerereerer9-Aug-04 1:31 
GeneralRe: Dynamic Toolbar :sigh: Pin
John R. Shaw9-Aug-04 5:28
John R. Shaw9-Aug-04 5:28 
GeneralTerminal Services Client. IMsTscAx Pin
4apai9-Aug-04 1:27
4apai9-Aug-04 1:27 
GeneralObtaining screen dimensions Pin
gokings9-Aug-04 1:16
gokings9-Aug-04 1:16 
GeneralRe: Obtaining screen dimensions Pin
4apai9-Aug-04 1:30
4apai9-Aug-04 1:30 
GeneralRe: Obtaining screen dimensions Pin
gokings9-Aug-04 1:57
gokings9-Aug-04 1:57 
GeneralRe: Obtaining screen dimensions Pin
V.9-Aug-04 1:42
professionalV.9-Aug-04 1:42 
GeneralRe: Obtaining screen dimensions Pin
gokings9-Aug-04 1:56
gokings9-Aug-04 1:56 

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.