Click here to Skip to main content
15,921,959 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionReading in data from GPS(serial Port) Pin
prashantkgupta16-Mar-06 8:59
prashantkgupta16-Mar-06 8:59 
QuestionProblem Publishing with Visual Studio 2005 Pin
kayhustle16-Mar-06 8:56
kayhustle16-Mar-06 8:56 
QuestionIP Cameras Pin
programmingfish15-Mar-06 20:54
programmingfish15-Mar-06 20:54 
AnswerRe: IP Cameras Pin
xlthim15-May-07 9:52
xlthim15-May-07 9:52 
QuestionClicking *Through* a Form? Pin
TheZeusJuice15-Mar-06 16:38
TheZeusJuice15-Mar-06 16:38 
AnswerRe: Clicking *Through* a Form? Pin
Dave Kreskowiak15-Mar-06 17:35
mveDave Kreskowiak15-Mar-06 17:35 
GeneralRe: Clicking *Through* a Form? Pin
TheZeusJuice15-Mar-06 17:48
TheZeusJuice15-Mar-06 17:48 
GeneralRe: Clicking *Through* a Form? Pin
Dave Kreskowiak16-Mar-06 2:35
mveDave Kreskowiak16-Mar-06 2:35 
TheZeusJuice wrote:
Your article on the other hand is neat, clear, and easy to understand.


Hey, Thanks!


TheZeusJuice wrote:
Assuming there are no controls on the form,
override the WndProc of the form, respond to the WM_NCHITTEST message and
return HTTRANSPARENT."


This is just an alternate method of "punch a hole through your form", as far as the mouse is concerned.

What this means is that you're capturing the WM_MCHITTEST message comming from Windows. What it wants is for you to use the mouse coordinates, provided by Windows, and check those against your window to see if the mouse actually clicked on something in YOUR window. It's entirely up to you if the mouse did or, more importantly, didn't hit something on your form. If it did NOT hit something, you set a return code to the value of HTTRANSPARENT.

You can find the values of both of these constants somewhere in the *.H header files in the Platform SDK.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionFree RAM as by minimize without displaying window Pin
mewashere15-Mar-06 11:57
mewashere15-Mar-06 11:57 
AnswerRe: Free RAM as by minimize without displaying window Pin
Glaxalg15-Mar-06 17:35
Glaxalg15-Mar-06 17:35 
AnswerRe: Free RAM as by minimize without displaying window Pin
Robert Rohde15-Mar-06 17:41
Robert Rohde15-Mar-06 17:41 
GeneralRe: Free RAM as by minimize without displaying window Pin
mewashere16-Mar-06 3:03
mewashere16-Mar-06 3:03 
GeneralRe: Free RAM as by minimize without displaying window Pin
Dave Kreskowiak16-Mar-06 15:11
mveDave Kreskowiak16-Mar-06 15:11 
QuestionPPTP through code Pin
xibalbasd15-Mar-06 10:24
xibalbasd15-Mar-06 10:24 
QuestionWhere to start? Pin
ComplexLifeForm15-Mar-06 5:43
ComplexLifeForm15-Mar-06 5:43 
AnswerRe: Where to start? Pin
TheZeusJuice15-Mar-06 17:27
TheZeusJuice15-Mar-06 17:27 
GeneralRe: Where to start? Pin
ComplexLifeForm15-Mar-06 21:27
ComplexLifeForm15-Mar-06 21:27 
GeneralRe: Where to start? Pin
TheZeusJuice16-Mar-06 4:54
TheZeusJuice16-Mar-06 4:54 
GeneralRe: Where to start? Pin
Kevin McFarlane17-Mar-06 10:39
Kevin McFarlane17-Mar-06 10:39 
GeneralRe: Where to start? Pin
Kevin McFarlane17-Mar-06 10:45
Kevin McFarlane17-Mar-06 10:45 
Questionnewbie question..plz help Pin
sunny74715-Mar-06 1:18
sunny74715-Mar-06 1:18 
AnswerRe: newbie question..plz help Pin
CWIZO15-Mar-06 2:31
CWIZO15-Mar-06 2:31 
GeneralRe: newbie question..plz help Pin
sunny74715-Mar-06 3:39
sunny74715-Mar-06 3:39 
GeneralRe: newbie question..plz help Pin
Dave Kreskowiak15-Mar-06 5:45
mveDave Kreskowiak15-Mar-06 5:45 
GeneralRe: newbie question..plz help Pin
sunny74715-Mar-06 7:40
sunny74715-Mar-06 7:40 

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.