Click here to Skip to main content
15,886,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 22:11
mveRichard MacCutchan3-Jul-18 22:11 
GeneralRe: free pointer to pointer Pin
CPallini3-Jul-18 22:24
mveCPallini3-Jul-18 22:24 
QuestionModifying dll source code for Notepad++ compare plugin Pin
Sherzaad132913252-Jul-18 9:35
Sherzaad132913252-Jul-18 9:35 
AnswerRe: Modifying dll source code for Notepad++ compare plugin Pin
Richard MacCutchan2-Jul-18 21:03
mveRichard MacCutchan2-Jul-18 21:03 
QuestionCustome title bar Pin
john563228-Jun-18 18:44
john563228-Jun-18 18:44 
AnswerRe: Custome title bar Pin
Richard MacCutchan28-Jun-18 20:52
mveRichard MacCutchan28-Jun-18 20:52 
AnswerRe: Custome title bar Pin
Victor Nijegorodov29-Jun-18 1:31
Victor Nijegorodov29-Jun-18 1:31 
AnswerRe: Custome title bar Pin
«_Superman_»1-Jul-18 18:16
professional«_Superman_»1-Jul-18 18:16 
The most basic thing to do for your need is to handle the WM_NCHITTEST[^] message.
The LPARAM parameter gives you the mouse coordinates on your window and then you figure out if it is over your customized title bar and return HTCAPTION from the message handler.
You may also want to check when to return HTCLOSE, HTMAXBUTTON, HTMINBUTTON, HTSYSMENU etc.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++) (October 2009 - September 2013)

Polymorphism in C

QuestionC++ and Artificial Intelligence Pin
Miles UE28-Jun-18 11:55
Miles UE28-Jun-18 11:55 
AnswerRe: C++ and Artificial Intelligence Pin
Manish K. Agarwal28-Jun-18 21:56
Manish K. Agarwal28-Jun-18 21:56 
GeneralRe: C++ and Artificial Intelligence Pin
_Flaviu28-Jun-18 22:06
_Flaviu28-Jun-18 22:06 
AnswerRe: C++ and Artificial Intelligence Pin
Daniel Pfeffer2-Jul-18 23:21
professionalDaniel Pfeffer2-Jul-18 23:21 
AnswerRe: C++ and Artificial Intelligence Pin
Maximilien3-Jul-18 8:40
Maximilien3-Jul-18 8:40 
AnswerRe: C++ and Artificial Intelligence Pin
Stefan_Lang16-Jul-18 5:47
Stefan_Lang16-Jul-18 5:47 
Questionevent handler Pin
Member 1249901728-Jun-18 8:21
Member 1249901728-Jun-18 8:21 
AnswerRe: event handler Pin
Victor Nijegorodov28-Jun-18 8:59
Victor Nijegorodov28-Jun-18 8:59 
AnswerRe: event handler Pin
«_Superman_»1-Jul-18 18:20
professional«_Superman_»1-Jul-18 18:20 
Question#import <somedll.dll> no_namespace Pin
Sakthiu28-Jun-18 5:03
Sakthiu28-Jun-18 5:03 
AnswerRe: #import <somedll.dll> no_namespace Pin
Joe Woodbury28-Jun-18 5:46
professionalJoe Woodbury28-Jun-18 5:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
Victor Nijegorodov28-Jun-18 8:46
Victor Nijegorodov28-Jun-18 8:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
«_Superman_»1-Jul-18 18:25
professional«_Superman_»1-Jul-18 18:25 
QuestionC++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Umad Ahmad27-Jun-18 1:45
Umad Ahmad27-Jun-18 1:45 
AnswerRe: C++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Richard MacCutchan27-Jun-18 2:36
mveRichard MacCutchan27-Jun-18 2:36 
QuestionConvert C++ code to python Pin
Megha Bhamare27-Jun-18 1:26
Megha Bhamare27-Jun-18 1:26 
AnswerRe: Convert C++ code to python Pin
Richard MacCutchan27-Jun-18 2:30
mveRichard MacCutchan27-Jun-18 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.