• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 600
  • Last Modified:

WM_NCLBUTTONUP in CDialog

hi,
I've created a simple dialog box, and I want to add a button to the titlebar.
To do this I need to handle the WM_NCLBUTTONDOWN & WM_NCLBUTTONUP messages.
From some reason I dont get the  OnNCLButtonUp event...

Can someone help ?
Yoav.

0
yoavo
Asked:
yoavo
  • 2
1 Solution
 
olgatCommented:
0
 
cdesignerCommented:
custom_dialog_caption.shtml - bad sample
look fine a MFC sample in you Visual studio folder

...\VC98\MFC\SRC\WINMINI.CPP

I made my class from this sample
0
 
yoavoAuthor Commented:
Do you know a sample that uses the CMiniFrameWnd class ?
0
 
cdesignerCommented:
this a standart class in MFC
this frame look like win3.1 interafce

you can create app based on this class
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now