Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Bork
  • Order by date
  1. Bork

    SubclassDlgItem on Property Page: ASSERT fails

    It turns out this isn't an issue any more. When I didn't have any luck here I posted the issue on Experts-Exchange and got a usable reply within hours.
  2. Bork

    SubclassDlgItem on Property Page: ASSERT fails

    Thanks for the quick reply. I'm not certain what is meant by >>&quot;step in&quot; in the line with FromHandlePermanent.<< If it refers to the debugger, I have stepped through the FromHandlePermanent function, and it runs fine. The problem is that it returns a non-NULL pWnd, presumably...
  3. Bork

    SubclassDlgItem on Property Page: ASSERT fails

    I'm trying to dynamically subclass a field on a property page. The code looks like this: BOOL CMyPropertyPage::OnInitDialog() { CPropertyPage::OnInitDialog(); m_myedithandler.SubclassDlgItem(IDC_TEXT,this); return TRUE; } The SubclassDlgItem fails on an ASSERT in BOOL...
  4. Bork

    Who am I?

    The two posts offered are correct. Unfortunately, I didn't specify that I'm using MFC with MDI. Can anyone tell me how to identify my .exe name from inside the program in this situation?
  5. Bork

    Who am I?

    How do I tell from inside a program what name the .exe has? For example, if the running program is called myprog.exe, I want to have code in the program that will get a string containing &quot;myprog.exe&quot;.
  6. Bork

    How to change default Visual C++ version

    abp...Thanks for the quick response. (1) When I look in the registry, the only keys under devbld.pkg are for 6.0; I don't see any sign of 4.1. (2) Even if I could find 4.1, I would be nervous about deleting a key for 6.0, since I will be wanting to use 6.0 when I work on my other projects...
  7. Bork

    How to change default Visual C++ version

    I have two versions of my app. The older one was created in Visual C++ 4.1, and I'm maintaining it there. The newer version is being developed in Visual C++ 6.0, which was of course installed more recently. I am doing some revisions to the old version, under 4.1. When 'Execute' finds a...

Part and Inventory Search

Back
Top