Results 1 to 3 of 3

Thread: Create() Problems - resolved

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Cardiff, UK
    Posts
    8

    Create() Problems - resolved

    Hi,

    I've just followed this article:

    http://www.codeguru.com/doc_view/DialogSwitcher.html

    and as far as I can tell, my code is the same as that in the article, and the child dialog has the correct settings (ie child, no border).

    When I call the create method on my child dialog, it returns false (ie it's failed), so obviously when it goes on to call ShowWindow, the Assert fails.

    Any ideas why this might be?

    Cheers
    Last edited by [TFX]Azrael; Jul 22nd, 2003 at 01:23 AM.

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    I think we are going to need to see your code or project to help you better.
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Cardiff, UK
    Posts
    8
    Sorry - figured it out already, it's because I was using a rich text box without calling the initialisation function

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width