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
M

Manfred Staiger

@Manfred Staiger
About
Posts
85
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Moving desktop shortcuts to desired position
    M Manfred Staiger

    Does anybody know how to read the actual position of desktop shortcuts and move them to a desired position. many thanks in advance...

    MS

    C / C++ / MFC tutorial

  • WM_MOUSEMOVE without mouse movement
    M Manfred Staiger

    Just for the curious: I found an article which gives an explanation: http://blogs.msdn.com/oldnewthing/archive/2003/10/01/55108.aspx[^]

    MS

    C / C++ / MFC tutorial question

  • WM_MOUSEMOVE without mouse movement
    M Manfred Staiger

    Iain Clarke wrote:

    I expect either windows shoves one at you every now and then, or the mouse driver may be more sensitive than needed.

    That was my first thought too. But when the mouse rests moveless over the dialog client area beside a DlgItem, no WM_MOUSEMOVE messages occur.

    Iain Clarke wrote:

    And do you care? You should be able to cope with the user moving the mouse anyway.

    Since the coordinates don' t change, I can easily filter the wrong messages by comparing the actual coordinates with the last, so it is no problem. But I would be keen to know the reason.

    MS

    C / C++ / MFC tutorial question

  • WM_MOUSEMOVE without mouse movement
    M Manfred Staiger

    Hello everybody, having a DlgItem, for example a a CEdit oder or a CStatic, on a CDialog the CDialog periodically receives WM_MOUSEMOVE messages when the mouse is over the DlgItem without any movement. The coordinates, as expected, don't change. Does anybody have an explanation for this behaviour? Thanks in advance

    MS

    C / C++ / MFC tutorial question

  • Is it possible to hide a column of a Clist control?
    M Manfred Staiger

    How about setting the width of that column to zero?

    MS

    C / C++ / MFC question learning

  • How to Update Dialog values
    M Manfred Staiger

    There are functions for appropriate conversion, for example itoa, ltoa. Or, if you are using CString: long var =12345; CString strVar; strVar.Format( "%d", var );

    MS

    C / C++ / MFC tutorial question announcement

  • File attributes of a shortcut
    M Manfred Staiger

    It works! I didn't respect that the windows explorer hides the file extension .lnk even if you haven't checked the "hide file extensions" property. So I simply passed the incomplete filename to SetFileAttributes. Anyway, thank you for responding.

    MS

    C / C++ / MFC tutorial question

  • File attributes of a shortcut
    M Manfred Staiger

    Does anybody know by chance how to change the file attributes of a shortcut in a folder? CFile::Get/SetStatus and GetFileAttributes/SetFileAttributes don't work. Thanks in advance

    MS

    C / C++ / MFC tutorial question

  • How to create icons from a font?
    M Manfred Staiger

    Thanks, thats seems to be the solution.

    MS

    C / C++ / MFC tutorial question

  • How to create icons from a font?
    M Manfred Staiger

    The icons on the windows system menu are made from the true type font Marlett. Does anybody know how I can use these icons? Are they created from the font at runtime (how?), or are they allocated as icons in a ressource (which?).

    MS

    C / C++ / MFC tutorial question

  • How to disable system menu
    M Manfred Staiger

    Hello cpallini, thanks a lot, that seems to work. The disabled close button does not affect my purpose.

    MS

    C / C++ / MFC help tutorial question

  • How to disable system menu
    M Manfred Staiger

    Hello everybody, i want to avoid the menu which pops up with a right click on the taskbar button of an application but I find no way to trap this event. Does anybody have a solution for this problem?

    MS

    C / C++ / MFC help tutorial question

  • How to deny zero on CEdit
    M Manfred Staiger

    By means of "subclassing" the CEdit you can overwrite it's message handlers. This way you can sort out the characters you want to block. Search for "Subclassing" or "SubclassDlgItem" here in the forum. There are good articles about the subject.

    MS

    C / C++ / MFC tutorial learning

  • Problem in Rich Text box using VC++
    M Manfred Staiger

    You need to call to call the member funktion SetEventMask to specify which notification messages the CRichEditCtrl object sends to its parent window. For example, to get notified about mouse and keyboard events: CRichEditCtrl m_rich; m_rich.SetEventMask(ENM_MOUSEEVENTS|ENM_KEYEVENTS); Hope this helps.

    MS

    C / C++ / MFC c++ help

  • How to access a VB.NET dll from C++
    M Manfred Staiger

    Hello everybody, I need to access some functions in a VB.NET dll from my VC++ application. The problem is that the dll doesn't export any functions like a common dll does. On a microsoft website I found a hint that looks like the .NET dll needs to implement a COM interface to fit my purposes, but I'm not shure. Does anybody have more knowledge on this issue??? MS

    C / C++ / MFC help csharp c++ com

  • error trying to open my database 'Unrecongized database format'
    M Manfred Staiger

    I think you problem is that you are using ACCESS 2000 or newer (that means Jet Engine 4.x). Then you need to trigger the use of DAO 3.6 instead of DAO 3.5 which is the default of the MFC DAO classes in VS6. If you use MFC in a shared DLL, you can easily resolve this problem by putting the line: AfxGetModuleState()->m_dwVersion = 0x0601; into your code before you call AfxDaoInit(). Hope this helps MS

    C / C++ / MFC help database

  • Problem in CWinApp::Initinstance of SDI App
    M Manfred Staiger

    Oh such a shit. I had some old code in the views PreCreateWindow function which fails at the current version of the project. And so the creation of the view fails. MS

    C / C++ / MFC help c++ question

  • Problem in CWinApp::Initinstance of SDI App
    M Manfred Staiger

    In my SDI Application the following problem appeared all of a sudden: In the InitInstance function of the application class the following line // Dispatch commands specified on the command line if (!ProcessShellCommand(cmdInfo)) return FALSE; causes the error: Error creating empty document ! (Translation from german, so the english errortext may be slightly different) Tracing into the MFC code the error happens in the function CWinApp::ProcessShellCommand at the following statement: if (!AfxGetApp()->OnCmdMsg(ID_FILE_NEW, 0, NULL, NULL)) Does anybody else have had this problem and found a solution ??? MS

    C / C++ / MFC help c++ question

  • A Problem about DAO
    M Manfred Staiger

    With Access2000 or later you need Dao 3.6 and Jet Engine 4.0 on your PC. In your application you need to make the following call prior to calling AfxDaoInit(): //This call makes MFC take use of DAO3.6 AfxGetModuleState()->m_dwVersion = 0x0601; //Now you can call AfxDaoInit() AfxDaoInit(); It only works if you have MFC as shared dll. If you have linked MFC statically you need to change some code in CDaoDatabase. It is described anywhere in MSDN. Hope this helps. MS

    C / C++ / MFC help database com question

  • which control is like grid of edit boxes
    M Manfred Staiger

    You can use a CListCtrl. Apply the "ReportView" and "NoColumnHeader" Styles and Gridlines as ExStyle. MS

    C / C++ / MFC c++ css help tutorial 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