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

Thread: Bordre color

Hybrid View

  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
    ovidiucucu's Avatar
    ovidiucucu is online now Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,112

    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 Cucu
    "When in Rome, do as Romans do."
    My likes on StumbleUpon
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center