Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Tommy2d

@Tommy2d
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Moving rows in grid
    T Tommy2d

    Hi there, How do I move rows up and down in a non-databound gridview? Tom

    C# question css

  • WTL Wizard problems
    T Tommy2d

    It helps indeed ;-)... The folowing code is called in a thread in which the void pointer contains a pointer to the parent class. int CwizLoginPage::runProcess (void* pThis) { CwizLoginPage * PPointer = (CwizLoginPage*)pThis; CMainWizard tt = (CMainWizard)PPointer->GetParent(); tt.SetActivePageByID(IDD_WIZARD_CHOOSEMODE); return 0; }

    ATL / WTL / STL c++ question

  • WTL Wizard problems
    T Tommy2d

    Hi! I've created a wizard using WTL but i can't get it to navigate to another page other then using the OnWizardNext overide. Is is possible to navigate to the next page by EG using a Timer function or something? Thanks :)

    ATL / WTL / STL c++ question

  • [wtl]CHyperLink bRet = (dwRet > 32);
    T Tommy2d

    ...But the URL is ok...and sometimes it works and sometimes is just doesn't, with the same link. I never saw this before:S.. it's obviously ShellExecute(). It returns 0..

    ATL / WTL / STL c++ question

  • [wtl]CHyperLink bRet = (dwRet > 32);
    T Tommy2d

    Sometimes, my CHyperLink breakes and it stops at this check. What can i do to stop this from happening?

    ATL / WTL / STL c++ question

  • Toolbar problems...
    T Tommy2d

    Hi! I'm designing a toolbar for my aplication with 64x64 buttons. I want to store them all as 256color bitmaps in resources for my app.. This is the code i'm using: m_wndToolBar = ::CreateWindowEx (0, TOOLBARCLASSNAME, NULL,ATL_SIMPLE_TOOLBAR_PANE_STYLE, 0, 0, 64, 64, m_hWnd,(HMENU) LongToHandle (ATL_IDW_TOOLBAR), _Module .GetModuleInstance (),NULL); TBBUTTON tbb[3]; char blah[250]; sprintf(blah,"Hamsters!!!"); tbb[0].idCommand = 1; tbb[0].fsState = TBSTATE_ENABLED; tbb[0].fsStyle = BTNS_BUTTON|BTNS_AUTOSIZE; tbb[0].dwData = 0; tbb[0].iBitmap = 0; tbb[0].iString = (int)&blah; tbb[1].idCommand = 2; tbb[1].fsState = TBSTATE_ENABLED; tbb[1].fsStyle = BTNS_BUTTON|BTNS_AUTOSIZE; tbb[1].dwData = 0; tbb[1].iBitmap = 1; tbb[1].iString = (int)&blah; tbb[2].idCommand = 3; tbb[2].fsState = TBSTATE_ENABLED; tbb[2].fsStyle = BTNS_BUTTON|BTNS_AUTOSIZE; tbb[2].dwData = 0; tbb[2].iBitmap = 1; tbb[2].iString = (int)&blah; list .Create(64, 64, ILC_COLOR, 1, 1); CBitmap bmSmall; bmSmall .LoadBitmap (IDB_BITMAP1); list .Add (bmSmall); list .SetBkColor (::GetSysColor (COLOR_3DFACE)); m_wndToolBar .SetButtonStructSize (sizeof (TBBUTTON)); m_wndToolBar .SetExtendedStyle (TBSTYLE_EX_DRAWDDARROWS|TBSTYLE_EX_MIXEDBUTTONS); m_wndToolBar .SetMaxTextRows (1); m_wndToolBar .SetImageList(list); //m_wndToolBar .SetBitmapSize (64,64); m_wndToolBar .SetButtonSize (64,64); m_wndToolBar.AddButtons(3,tbb); m_wndToolBar.UpdateWindow(); My problem is that the toolbar doesn't want to show any of my buttons' images! What am i doing wrong? Thanks:)

    C / C++ / MFC help question

  • What format is this file in and how to open it in C++
    T Tommy2d

    The problem is with the reading, but i already knew that. I just really don't know how to read this file...The format was UTF16 without the last byte...

    C / C++ / MFC c++ com sysadmin tutorial question

  • What format is this file in and how to open it in C++
    T Tommy2d

    Ok, thanks for this information:)...But how do i go writing a program that is capable of reading and writing such files? At the moment, I'm using the CTextFileRead class found on this site. But this class is not capable of reading UTF16 files I believe...

    C / C++ / MFC c++ com sysadmin tutorial question

  • Listing files in a folder
    T Tommy2d

    Can anybody indicate me to code that lists the content of a directory on a FAT32 drive? I'm not using MFC...

    C / C++ / MFC c++ question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups