Click here to Skip to main content
15,911,646 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly12-Nov-06 17:15
georgekjolly12-Nov-06 17:15 
AnswerRe: How to manipulate CEdit in CAxDialogImpl Pin
wangweixing20089-Nov-06 23:21
wangweixing20089-Nov-06 23:21 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly12-Nov-06 17:14
georgekjolly12-Nov-06 17:14 
QuestionHow to use two recent file lists in a SDI project Pin
jingli04178-Nov-06 21:49
jingli04178-Nov-06 21:49 
QuestionUsing Interface type from the imported TLB (Attributed COM) Pin
arun14057-Nov-06 23:57
arun14057-Nov-06 23:57 
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
Michael Dunn8-Nov-06 14:07
sitebuilderMichael Dunn8-Nov-06 14:07 
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
wangweixing20089-Nov-06 23:33
wangweixing20089-Nov-06 23:33 
QuestionLoading Icon on buttons created using TBBUTTON Pin
georgekjolly1-Nov-06 2:40
georgekjolly1-Nov-06 2:40 
Hi all,

I have made an Internet Explorer toolbar. ToolBar is having only three buttons. I used TBBUTTON for making Buttons. I have loaded bitmaps on each button using following code.


myfun(){

CToolBarCtrl::Create(DEFAULT_TOOLBAR_STYLE, rcClP, pWndParent,IDB_BITMAP1))

AddBitmap(3, IDB_BITMAP1

TBBUTTON tbs[3];
for (int i = 0; i < 3; i++)
{
tbs[i].dwData = 0;
tbs[i].fsState = TBSTATE_ELLIPSES|TBSTATE_ENABLED ;
tbs[i].fsStyle = TBSTYLE_BUTTON;
tbs[i].iBitmap = i;
tbs[i].idCommand = ID_BUTTON1 + i;
tbs[i].iString = i;

}

AddStrings(_T(" Red\0"));
AddStrings(_T(" Green\0"));
AddStrings(_T(" Blue\0"));

if (!AddButtons(3, tbs))
return false;
return true;

} //function ends here


Here I am able to load bitmap on each buttons . But I need to add Icons on each button. How it possible

Please Help me
Thanks in Advance
George K Jolly
AnswerRe: Loading Icon on buttons created using TBBUTTON Pin
led mike1-Nov-06 5:16
led mike1-Nov-06 5:16 
QuestionInsert data in ms access by oledb connection Pin
With_problem31-Oct-06 15:04
With_problem31-Oct-06 15:04 
QuestionHow to provide tooltip for toolbar on ATL control? Pin
Amar Sutar31-Oct-06 2:04
Amar Sutar31-Oct-06 2:04 
Questionregistering a plugin Pin
saqib8230-Oct-06 1:57
saqib8230-Oct-06 1:57 
AnswerRe: registering a plugin Pin
dharani7-Nov-06 21:57
dharani7-Nov-06 21:57 
GeneralRe: registering a plugin Pin
saqib827-Nov-06 22:24
saqib827-Nov-06 22:24 
QuestionCoCreateInstance problem Pin
hybride27-Oct-06 1:05
hybride27-Oct-06 1:05 
AnswerRe: CoCreateInstance problem [modified] Pin
Jonathan [Darka]27-Oct-06 4:40
professionalJonathan [Darka]27-Oct-06 4:40 
QuestionMemory of the COM objects get allocated? Pin
Killer326-Oct-06 19:19
Killer326-Oct-06 19:19 
AnswerRe: Memory of the COM objects get allocated? Pin
Gupta Suraj14-Nov-06 8:19
Gupta Suraj14-Nov-06 8:19 
QuestionHow to mashal IElementBehaviorFactory interface? Pin
jinhaibo26-Oct-06 0:02
jinhaibo26-Oct-06 0:02 
Questionhelp in coding for database Pin
With_problem24-Oct-06 17:45
With_problem24-Oct-06 17:45 
AnswerRe: help in coding for database Pin
led mike25-Oct-06 12:30
led mike25-Oct-06 12:30 
QuestionConversion to and from TCHAR* Pin
rana7423-Oct-06 20:19
rana7423-Oct-06 20:19 
AnswerRe: Conversion to and from TCHAR* Pin
Michael Dunn23-Oct-06 20:53
sitebuilderMichael Dunn23-Oct-06 20:53 
AnswerRe: Conversion to and from TCHAR* Pin
lafleon17-Nov-06 13:35
lafleon17-Nov-06 13:35 
QuestionCan I derive from an ATL ActiveX control? Pin
markjmalin23-Oct-06 6:44
markjmalin23-Oct-06 6:44 

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.