Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: timv

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Is it somehow possible to have a toolbar at the bottom of my cdialog?

    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);...
  2. Is it somehow possible to have a toolbar at the bottom of my cdialog?

    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.
  3. Replies
    4
    Views
    1,596

    Re: tooltip delay time

    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...
  4. Replies
    4
    Views
    1,596

    Re: tooltip delay time

    i tried
    //in CMainFrame:
    ::SendMessage(m_wndToolBar.GetToolBarCtrl().m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);
    ::SendMessage(m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);...
  5. Replies
    4
    Views
    1,596

    tooltip delay time

    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
  6. Re: CToolBarCtrl::AddBitmap() gives me trouble in afxcrit.cpp

    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...
  7. Re: CToolBarCtrl::AddBitmap() gives me trouble in afxcrit.cpp

    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...
  8. CToolBarCtrl::AddBitmap() gives me trouble in afxcrit.cpp

    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...
  9. Replies
    5
    Views
    487

    Re: crash with not much information

    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.
  10. Replies
    5
    Views
    487

    Re: crash with not much information

    the crash occurs in debug and release versions
  11. Replies
    5
    Views
    487

    crash with not much information

    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...
  12. Replies
    4
    Views
    473

    Tree data structure

    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...
  13. Replies
    1
    Views
    757

    problem with appendmenu and menu

    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;...
  14. Thread: Array of Bools

    by timv
    Replies
    24
    Views
    1,867

    Re: Array of Bools

    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...
  15. Thread: SCJP - only exam

    by timv
    Replies
    4
    Views
    1,490

    Re: SCJP - only exam

    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
  16. Thread: SCJP - only exam

    by timv
    Replies
    4
    Views
    1,490

    SCJP - only exam

    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...
  17. Replies
    4
    Views
    1,936

    Re: CStatic::SetBitmap() and it's size

    Thanks guys, I was unaware of this. It works great now.

    timv
  18. Replies
    3
    Views
    435

    Re: How to modify this region of the tool bar??

    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...
  19. Replies
    4
    Views
    1,936

    CStatic::SetBitmap() and it's size

    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...
  20. Replies
    1
    Views
    2,829

    TITLEBARINFO and GetTitleBarInfo()

    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...
  21. Replies
    6
    Views
    1,538

    Re: CreateDIBSection gives me black bitmap

    Indeed, it works great!
    Thanks alot Golanshahar.
  22. Replies
    6
    Views
    1,538

    Re: CreateDIBSection gives me black bitmap

    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...
  23. Replies
    6
    Views
    1,538

    Re: CreateDIBSection gives me black bitmap

    bmi comes from

    BITMAPINFO* bmi;
    if ( OpenClipboard() )
    {
    HGLOBAL hglb = NULL;
    if ((hglb = GetClipboardData(CF_DIB)))
    {
    switch (format) {
    case CF_DIB:
  24. Replies
    6
    Views
    1,538

    CreateDIBSection gives me black bitmap

    HDC hMemDC = CreateCompatibleDC(NULL);
    LPVOID pBit32;
    HBITMAP bmp = CreateDIBSection(hMemDC,pBmi,DIB_RGB_COLORS, &pBit32, NULL, 0);
    DeleteDC(hMemDC);
    How to solve it?

    Thanks
  25. Replies
    15
    Views
    5,176

    Re: Customizing the titlebar color and buttons

    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...
Results 1 to 25 of 220
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center