Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Open default application for associated file Pin
palbano30-Jun-04 6:37
palbano30-Jun-04 6:37 
GeneralRe: Open default application for associated file Pin
ness41630-Jun-04 7:11
ness41630-Jun-04 7:11 
GeneralRe: Open default application for associated file Pin
palbano30-Jun-04 7:14
palbano30-Jun-04 7:14 
GeneralRe: Open default application for associated file Pin
Blake Miller30-Jun-04 7:34
Blake Miller30-Jun-04 7:34 
GeneralTransparent icons on a toolbar buttons Pin
Daredevil30-Jun-04 6:08
Daredevil30-Jun-04 6:08 
GeneralRe: Transparent icons on a toolbar buttons Pin
GermanGeorge1-Jul-04 2:00
GermanGeorge1-Jul-04 2:00 
GeneralRe: Transparent icons on a toolbar buttons Pin
Elmue16-Oct-09 9:22
Elmue16-Oct-09 9:22 
QuestionRe: Transparent icons on a toolbar buttons Pin
lakshmanguru23-Feb-10 11:40
lakshmanguru23-Feb-10 11:40 
Any suggestions? Still no luck.



if (!myBar.CreateEx(this, TBSTYLE_FLAT | TBSTYLE_TRANSPARENT, WS_CHILD | WS_VISIBLE | CBRS_TOP
		| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC))
	{
		TRACE0("Failed to create toolbar\n");
		return -1;      // fail to create
	}

	myBar.LoadToolBar(IDR_TOOLBAR1);

	list1.Create(16, 16, ILC_COLOR32 | ILC_MASK, 2, 2);
        list1.SetBkColor(RGB(255,0,0));

	list1.Add(AfxGetApp()->LoadIcon(IDI_ICON1));
	list1.Add(AfxGetApp()->LoadIcon(IDI_ICON2));

        myBar.SendMessage(TB_SETIMAGELIST, 0 , LPARAM (list1.m_hImageList));

	myBar.EnableDocking(CBRS_ALIGN_ANY);
	EnableDocking(CBRS_ALIGN_ANY);
	DockControlBar(&myBar);

GeneralRe: Transparent icons on a toolbar buttons Pin
Mahadev HK5-Aug-11 2:33
Mahadev HK5-Aug-11 2:33 
QuestionHow to refresh the ActiveX Property Browser? Pin
Daed30-Jun-04 6:01
Daed30-Jun-04 6:01 
GeneralActiveX ListBox Pin
Roger Art30-Jun-04 5:55
sussRoger Art30-Jun-04 5:55 
GeneralRe: ActiveX ListBox Pin
Jaime Stuardo30-Jun-04 7:04
Jaime Stuardo30-Jun-04 7:04 
GeneralRe: ActiveX ListBox Pin
rogerart30-Jun-04 7:46
sussrogerart30-Jun-04 7:46 
GeneralRe: ActiveX ListBox Pin
Jaime Stuardo30-Jun-04 9:17
Jaime Stuardo30-Jun-04 9:17 
GeneralRe: ActiveX ListBox Pin
Roger Art30-Jun-04 10:56
sussRoger Art30-Jun-04 10:56 
GeneralRe: ActiveX ListBox Pin
Roger Art30-Jun-04 10:56
sussRoger Art30-Jun-04 10:56 
GeneralRe: ActiveX ListBox Pin
Jaime Stuardo1-Jul-04 4:21
Jaime Stuardo1-Jul-04 4:21 
GeneralLooking for C++ Programmers in India Pin
Arun Gandhi30-Jun-04 5:38
Arun Gandhi30-Jun-04 5:38 
GeneralDependency Detection Pin
Joseph Dempsey30-Jun-04 4:58
Joseph Dempsey30-Jun-04 4:58 
GeneralRe: Dependency Detection Pin
David Crow30-Jun-04 5:58
David Crow30-Jun-04 5:58 
GeneralRe: Dependency Detection Pin
palbano30-Jun-04 6:18
palbano30-Jun-04 6:18 
QuestionHow to prevent setting focus to modeless dialog ? Pin
rrrado30-Jun-04 4:02
rrrado30-Jun-04 4:02 
AnswerRe: How to prevent setting focus to modeless dialog ? Pin
GermanGeorge1-Jul-04 2:03
GermanGeorge1-Jul-04 2:03 
Generalglobal connection to db Pin
JabraJabra30-Jun-04 2:18
JabraJabra30-Jun-04 2:18 
GeneralRe: global connection to db Pin
David Crow30-Jun-04 2:55
David Crow30-Jun-04 2:55 

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.