Click here to Skip to main content
15,905,229 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Zoltan Balazs27-Jun-07 5:37
Zoltan Balazs27-Jun-07 5:37 
QuestionRe: small but high quality(color deph and pixel) toolbar? Pin
Electronic7527-Jun-07 6:01
Electronic7527-Jun-07 6:01 
AnswerRe: small but high quality(color deph and pixel) toolbar? Pin
Zoltan Balazs27-Jun-07 6:18
Zoltan Balazs27-Jun-07 6:18 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
led mike27-Jun-07 6:22
led mike27-Jun-07 6:22 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Mark Salsbery27-Jun-07 6:32
Mark Salsbery27-Jun-07 6:32 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Electronic7527-Jun-07 7:28
Electronic7527-Jun-07 7:28 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Mark Salsbery27-Jun-07 7:56
Mark Salsbery27-Jun-07 7:56 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Electronic7527-Jun-07 8:17
Electronic7527-Jun-07 8:17 
Nice icons all in .ico format and high color for those that are really big (>30KB) and 8bit color(256color) those that are 766 bytes. for the moment lets forget high color, so we are talking about 256 color 32x32 .ico format that most of them do not have transparent colors.
The way I use them is pretty much straight forward,in visual studio 2005 in Resource view under toolbar node, I add a toolbar then I copy the icon of button that I've already opened as icon resource and paste it over the button. The toolbar has an ID for example ID_MY_TOOLBAR.
then I define a CToolbar member variable in CMainFrame and in OnCreate function I create my toolbar.
<br />
m_barMyOwnToolBar.CreateEx(this, tbstyle-flat, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);<br />
m_barMyOwnToolBar.LoadToolBar(ID_MY_TOOLBAR);<br />

now if my original icons in toolbar are large 32x32 then toolbar will be large and if my original icon are 16x16 then my toolbar will be at right size. the problem is I want to load 32x32 but I want 16x16 size.
still am I asking too much?Smile | :)
GeneralRe: small but high quality(color deph and pixel) toolbar? [modified] Pin
Mark Salsbery27-Jun-07 9:52
Mark Salsbery27-Jun-07 9:52 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Electronic7527-Jun-07 10:52
Electronic7527-Jun-07 10:52 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Mark Salsbery27-Jun-07 11:20
Mark Salsbery27-Jun-07 11:20 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Electronic7527-Jun-07 12:27
Electronic7527-Jun-07 12:27 
GeneralRe: small but high quality(color deph and pixel) toolbar? Pin
Mark Salsbery27-Jun-07 12:32
Mark Salsbery27-Jun-07 12:32 
QuestionDetect Code page using IMultiLanguage2 Interface (MS VC++ (Win32)) Pin
bikas_suman8327-Jun-07 3:47
bikas_suman8327-Jun-07 3:47 
AnswerRe: Detect Code page using IMultiLanguage2 Interface (MS VC++ (Win32)) Pin
bikas_suman8328-Jun-07 1:45
bikas_suman8328-Jun-07 1:45 
QuestionHow to test the network status Pin
kcynic27-Jun-07 3:24
kcynic27-Jun-07 3:24 
AnswerRe: How to test the network status Pin
Moak29-Jun-07 1:20
Moak29-Jun-07 1:20 
QuestionRelease the project Pin
kcynic27-Jun-07 3:13
kcynic27-Jun-07 3:13 
AnswerRe: Release the project Pin
aatul27-Jun-07 4:14
aatul27-Jun-07 4:14 
GeneralRe: Release the project Pin
kcynic27-Jun-07 23:37
kcynic27-Jun-07 23:37 
AnswerRe: Release the project Pin
sheshidar27-Jun-07 18:19
sheshidar27-Jun-07 18:19 
GeneralRe: Release the project Pin
kcynic27-Jun-07 23:42
kcynic27-Jun-07 23:42 
QuestionThread debug Pin
RichardS27-Jun-07 2:59
RichardS27-Jun-07 2:59 
AnswerRe: Thread debug Pin
BadKarma27-Jun-07 3:35
BadKarma27-Jun-07 3:35 
GeneralRe: Thread debug Pin
RichardS27-Jun-07 3:54
RichardS27-Jun-07 3:54 

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.