Click here to Skip to main content
15,867,308 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: ActiveX Control Test Container unavailable in VS2008? Pin
Stuart Dootson1-Oct-09 22:21
professionalStuart Dootson1-Oct-09 22:21 
GeneralRe: ActiveX Control Test Container unavailable in VS2008? Pin
nicknotyet2-Oct-09 5:06
nicknotyet2-Oct-09 5:06 
GeneralRe: ActiveX Control Test Container unavailable in VS2008? Pin
Pat Brenner (MSFT)18-Mar-10 9:53
Pat Brenner (MSFT)18-Mar-10 9:53 
QuestionUpdating toolbar button text & creating dropdown buttons Pin
itzuke28-Sep-09 22:37
itzuke28-Sep-09 22:37 
QuestionHow to move a window only use WM_XXX message without MoveWindow or SetWindowPos? Pin
hawkgao012928-Sep-09 20:25
hawkgao012928-Sep-09 20:25 
AnswerRe: How to move a window only use WM_XXX message without MoveWindow or SetWindowPos? Pin
hawkgao012928-Sep-09 21:20
hawkgao012928-Sep-09 21:20 
QuestionCImageList and CTreeViewControl Pin
Nicolai M27-Sep-09 9:23
Nicolai M27-Sep-09 9:23 
AnswerRe: CImageList and CTreeViewControl Pin
Nicolai M27-Sep-09 12:52
Nicolai M27-Sep-09 12:52 
Update on my problem, found out it added it as 1 large bitmap and didn't make it into a list as CreateFromImage does, then i've tried to make the bitmap into icons and adding them like this:
HINSTANCE hDLL = LoadLibrary(_T("Resource.dll"));
if(hDLL){
   CImageList imgList;
   imgList.Create(16, 16, ILC_MASK, 0, 16);
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(104)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(105)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(106)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(107)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(108)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(109)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(110)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(111)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(112)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(113)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(114)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(115)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(116)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(117)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(118)));
   imgList.AddIcon(LoadIcon(hDLL, MAKEINTRESOURCE(119)));
   ctrlTree.SetImageList(imgList);
   FreeLibrary(hDLL);
}

with this solution it only adds the last icon, and leaves a load of blank spaces. only showing the first 16x16 pixels.
AnswerRe: CImageList and CTreeViewControl Pin
Nicolai M27-Sep-09 20:46
Nicolai M27-Sep-09 20:46 
Question[WTL] Enable/disable menu items with UIEnable (problem) Pin
itzuke23-Sep-09 5:35
itzuke23-Sep-09 5:35 
AnswerRe: [WTL] Enable/disable menu items with UIEnable (problem) Pin
Stuart Dootson23-Sep-09 11:47
professionalStuart Dootson23-Sep-09 11:47 
AnswerRe: [WTL] Enable/disable menu items with UIEnable (problem) Pin
Michael Dunn13-Oct-09 8:40
sitebuilderMichael Dunn13-Oct-09 8:40 
QuestionSTL Map Pin
VVVimal22-Sep-09 4:10
VVVimal22-Sep-09 4:10 
AnswerRe: STL Map Pin
Michael Dunn22-Sep-09 12:54
sitebuilderMichael Dunn22-Sep-09 12:54 
AnswerRe: STL Map Pin
Andy Moore23-Sep-09 5:19
Andy Moore23-Sep-09 5:19 
QuestionSYSTEMTIME Pin
VVVimal14-Sep-09 19:17
VVVimal14-Sep-09 19:17 
AnswerRe: SYSTEMTIME Pin
Stuart Dootson15-Sep-09 0:18
professionalStuart Dootson15-Sep-09 0:18 
AnswerRe: SYSTEMTIME Pin
BlueSkycpp26-Oct-09 18:47
BlueSkycpp26-Oct-09 18:47 
QuestionCompare two different STL list Pin
VVVimal13-Sep-09 21:56
VVVimal13-Sep-09 21:56 
AnswerRe: Compare two different STL list Pin
Stuart Dootson13-Sep-09 23:07
professionalStuart Dootson13-Sep-09 23:07 
QuestionPreventing multiple instances of COM singleton??? Pin
kb-boxer30-Aug-09 20:52
kb-boxer30-Aug-09 20:52 
AnswerRe: Preventing multiple instances of COM singleton??? Pin
«_Superman_»30-Aug-09 21:20
professional«_Superman_»30-Aug-09 21:20 
GeneralRe: Preventing multiple instances of COM singleton??? Pin
kb-boxer31-Aug-09 0:23
kb-boxer31-Aug-09 0:23 
QuestionHow can I hide the WTL Dialog scrollbar in SmartPhone? Pin
Kiss Rain17-Aug-09 17:29
Kiss Rain17-Aug-09 17:29 
QuestionWhat should I do that I want to develop a MenuBar or ToolBar using ATL? [modified] Pin
Nothend11-Aug-09 19:37
Nothend11-Aug-09 19:37 

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.