CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Bordre color

  1. #1
    Join Date
    Dec 2005
    Location
    algiers, Algeria
    Posts
    132

    Border color

    Hi all,

    is it possible to change the border color of DialogBox without subclassing it in win32 ?

    Regards.
    Last edited by ledaker; September 28th, 2012 at 02:50 PM.

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: Bordre color

    What do you mean with "subclassing DialogBox"?

    In Win32, "subclassing" means to replace a default window procedure (usually for built-in common controls like button, edit, etc) with an application-defined one.
    DialogBox function requires an application-defined dialog procedure (see lpDialogFunc parameter, as well as DialogProc callback function.

    So, what's the point in your question?
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Tags for this Thread

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

Featured