Search:
Type: Posts; User: timv
Search:
Search took 0.15 seconds.
-
October 6th, 2005, 08:48 AM
Hi,
I'm trying like in the example and with the CCS_BOTTOM style, but I can't get it done.
m_Toolbar.Create(this);
m_Toolbar.LoadToolBar(IDR_PRECALCULATION_TOOLBAR);...
-
October 6th, 2005, 03:59 AM
Is it somehow possible to have a toolbar at the bottom of my cdialog?
I added the toolbar, but docking is not possible in cdialogs, it seems.
-
October 3rd, 2005, 05:02 AM
Yes, that's what I tried first, but since I do not use CToolTipCtrls, the GetToolTips() function returns NULL;
To be honest, I don't really get why the tooltips come up in the first place. I...
-
October 3rd, 2005, 04:32 AM
i tried
//in CMainFrame:
::SendMessage(m_wndToolBar.GetToolBarCtrl().m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);
::SendMessage(m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);...
-
October 3rd, 2005, 04:06 AM
I am not using a CToolTipCtrl. Is there any way I can change the tooltip initial delay time. I think it's 1000ms now, but I want it to be much faster.
greets,
timv
-
September 30th, 2005, 03:30 AM
I can see now that the reason the error occurs is because we are using true color bitmaps (24 bpp). If I make it a 8 bpp then there is no problem, but some color loss. Does someone know a solution...
-
September 30th, 2005, 02:24 AM
same error.
Does someone knows what can be the origin of this error? Can it have something to do with the fact the bitmap has 24bit colors? Or perhaps there is still something wrong with the...
-
September 29th, 2005, 09:57 AM
m_wndToolBar.Create(this);
m_wndToolBar.GetToolBarCtrl().AddBitmap(10,IDB_GRIDTB);
where IDB_GRIDTB is a bitmap resource containing 10 buttons of 16x16. The bitmap is 160x16. I tried to...
-
September 23rd, 2005, 07:06 AM
That's what I tried, but there seems to be no way I can get into the code to debug it.
Marc G: That might be the reason. Thanks alot.
-
September 23rd, 2005, 06:56 AM
the crash occurs in debug and release versions
-
September 23rd, 2005, 06:52 AM
Hi,
When you click F12 in my application: Unhandled exception at 0x7c901230 in Alba.exe: User breakpoint.
The call stack gives only
> ntdll.dll!7c901230()
ntdll.dll!7c9507a8()
I don't...
-
September 14th, 2005, 05:06 AM
Hi,
I want to have something like a tree datastructure. I want to represent a tree containing integers.
I want it to be able to easily add nodes and to easily geth the path from a leaf to the...
-
September 12th, 2005, 08:45 AM
Hi,
I want to dynamiccally create a menu. Code is straigtforward and like this:
std::vector<CFunction*> funcs = m_pUserGroupFunctions->GetAllFunctions();
int group;
CMenu* newMenu;...
-
September 9th, 2005, 03:58 AM
I have a question about
bool KeyStatus[255] = {0};Why is it again that the size of the array has to be constant? I want to have bool KeyStatus[myList.size()] = {0}; But the compiler complains...
-
September 6th, 2005, 08:54 AM
Another question then: Is there any manual /tutorial available online for Sun Certified Programmer for the Java 2 Platform, Standard Edition - J2SE 5.0 ! ?
greets
-
September 5th, 2005, 02:21 PM
Hi,
I want to get the SCJP. I want to do it in Belgium and on a individual basis. I have this site:
https://www.suntrainingcatalogue.com/eduserv/client/welcome.do?l=en_BE
But I only want to...
-
August 25th, 2005, 02:35 AM
Thanks guys, I was unaware of this. It works great now.
timv
-
August 24th, 2005, 09:49 AM
MFC uses several private classes—CDockBar, CMiniDockFrameWnd, and CDockContext, all declared in afxpriv.h—to implement docking. These classes implement the region you specified.
So in order to...
-
August 24th, 2005, 09:36 AM
Hi,
Msdn says for SetBitmap(): "The bitmap will be automatically drawn in the static control. By default, it will be drawn in the upper-left corner and the static control will be RESIZED TO THE...
-
August 24th, 2005, 07:08 AM
Hi,
I can't get TITLEBARINFO and GetTitleBarInfo() compiled. Same problem as in http://www.codeguru.com/forum/showthread.php?t=253497&highlight=gettitlebarinfo
I use it like this:
TITLEBARINFO...
-
August 22nd, 2005, 10:17 AM
Indeed, it works great!
Thanks alot Golanshahar.
-
August 22nd, 2005, 09:45 AM
That's very nice, thanks alot.
The only thing is, I need this e.g. when a user browses to a webpage with internet explorer and wants to use an image he sees in my program. I want to do this using...
-
August 22nd, 2005, 08:57 AM
bmi comes from
BITMAPINFO* bmi;
if ( OpenClipboard() )
{
HGLOBAL hglb = NULL;
if ((hglb = GetClipboardData(CF_DIB)))
{
switch (format) {
case CF_DIB:
-
August 22nd, 2005, 08:46 AM
HDC hMemDC = CreateCompatibleDC(NULL);
LPVOID pBit32;
HBITMAP bmp = CreateDIBSection(hMemDC,pBmi,DIB_RGB_COLORS, &pBit32, NULL, 0);
DeleteDC(hMemDC);
How to solve it?
Thanks
-
August 19th, 2005, 02:02 AM
I don't have a solution for the color while resizing.
I also have no idea how to make the bar transparent at some places, I'm sorry.
About this: "And the other is that I also have to add bitmap...
|
Click Here to Expand Forum to Full Width
|