Click here to Skip to main content
15,896,063 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionWindowless Activex Controls Pin
ArunKumar Yalamarthy5-Jul-07 4:19
ArunKumar Yalamarthy5-Jul-07 4:19 
QuestionATL wizard not adding Get and Put function prototypes to the class definition. Pin
KASR14-Jul-07 23:16
KASR14-Jul-07 23:16 
AnswerRe: ATL wizard not adding Get and Put function prototypes to the class definition. Pin
Bart10-Jul-07 7:12
Bart10-Jul-07 7:12 
GeneralRe: ATL wizard not adding Get and Put function prototypes to the class definition. Pin
KASR110-Jul-07 18:25
KASR110-Jul-07 18:25 
GeneralRe: ATL wizard not adding Get and Put function prototypes to the class definition. Pin
Bart10-Jul-07 18:37
Bart10-Jul-07 18:37 
GeneralRe: ATL wizard not adding Get and Put function prototypes to the class definition. Pin
KASR110-Jul-07 18:55
KASR110-Jul-07 18:55 
QuestionAdding bitmap images to toolbar buttons programmatically Pin
rindam28-Jun-07 0:29
rindam28-Jun-07 0:29 
AnswerRe: Adding bitmap images to toolbar buttons programmatically Pin
khan++12-Jul-07 2:33
khan++12-Jul-07 2:33 
/*Here, hInst is your HINSTANCE, like: HINSTANCE hInst = _Module.GetResourceInstance();*/
/*IDB_SOME is the resource ID of your new bitmap added to the project*/
/*hWnd is the HWND of the toolbar*/

TBADDBITMAP bmpNew;<br />
bmpNew.hInst = hInst;<br />
bmpNew.nID = IDB_SOME;<br />
::SendMessage(hWnd,TB_ADDBITMAP,1,LPARAM(&bmpNew));


TBBUTTONINFO tb;<br />
memset(&tb,0,sizeof(TBBUTTON));<br />
tb.cbSize = sizeof(TBBUTTONINFO);<br />
tb.dwMask = TBIF_IMAGE;


/*Here, set this number to the next value after the end of your bitmapped toolbar*/
tb.iImage = 6;

/*ID_FIRST_BUTTON is the ID of the toolbar button you want to set the image of*/

::SendMessage(hWnd,TB_SETBUTTONINFO,ID_FIRST_BUTTON,LPARAM(&tb));



this is this.

QuestionHow Can I Pass Struct between ATL and client Pin
kasinli26-Jun-07 20:40
kasinli26-Jun-07 20:40 
AnswerRe: How Can I Pass Struct between ATL and client Pin
CPallini5-Jul-07 1:42
mveCPallini5-Jul-07 1:42 
QuestionHow to make drop down part of toolbar button more wider? Pin
Padmanabh Sharma26-Jun-07 18:54
Padmanabh Sharma26-Jun-07 18:54 
AnswerRe: How to make drop down part of toolbar button more wider? Pin
khan++12-Jul-07 2:51
khan++12-Jul-07 2:51 
QuestionDispatch map methods not correctly exported Pin
volker.holzbach25-Jun-07 0:12
volker.holzbach25-Jun-07 0:12 
AnswerRe: Dispatch map methods not correctly exported Pin
prasad_som27-Jun-07 1:03
prasad_som27-Jun-07 1:03 
AnswerRe: Dispatch map methods not correctly exported Pin
User 2155974-Jul-07 20:50
User 2155974-Jul-07 20:50 
GeneralRe: Dispatch map methods not correctly exported Pin
volker.holzbach5-Jul-07 1:18
volker.holzbach5-Jul-07 1:18 
QuestionRe: Dispatch map methods not correctly exported Pin
prasad_som5-Jul-07 21:23
prasad_som5-Jul-07 21:23 
AnswerRe: Dispatch map methods not correctly exported Pin
volker.holzbach18-Jul-07 1:46
volker.holzbach18-Jul-07 1:46 
QuestionWhy can`t use OnPaint? Pin
chenzhengxi@outlook.com21-Jun-07 20:08
chenzhengxi@outlook.com21-Jun-07 20:08 
QuestionRe: Why can`t use OnPaint? Pin
prasad_som27-Jun-07 1:08
prasad_som27-Jun-07 1:08 
Questionloadin unmanaged dll from resources Pin
mustafa13121-Jun-07 4:44
mustafa13121-Jun-07 4:44 
QuestionCram std::map into std:vector Pin
Jnewg520-Jun-07 4:11
Jnewg520-Jun-07 4:11 
AnswerRe: Cram std::map into std:vector Pin
Jnewg520-Jun-07 4:13
Jnewg520-Jun-07 4:13 
GeneralRe: Cram std::map into std:vector Pin
Stephen Hewitt20-Jun-07 14:09
Stephen Hewitt20-Jun-07 14:09 
AnswerRe: Cram std::map into std:vector Pin
Stephen Hewitt20-Jun-07 14:05
Stephen Hewitt20-Jun-07 14:05 

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.