Click here to Skip to main content
15,915,848 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.net and Access dB Pin
KaptinKrunch31-Oct-05 2:07
KaptinKrunch31-Oct-05 2:07 
QuestionPassing Data between different web sites Pin
john_paul29-Oct-05 11:48
john_paul29-Oct-05 11:48 
AnswerRe: Passing Data between different web sites Pin
John Kuhn30-Oct-05 10:05
John Kuhn30-Oct-05 10:05 
GeneralRe: Passing Data between different web sites Pin
john_paul30-Oct-05 14:13
john_paul30-Oct-05 14:13 
QuestionHow to get the code of .exe file Pin
maheshreddy_iiith29-Oct-05 10:49
maheshreddy_iiith29-Oct-05 10:49 
AnswerRe: How to get the code of .exe file Pin
rwestgraham29-Oct-05 11:27
rwestgraham29-Oct-05 11:27 
QuestionClick throught a form Pin
Omar Mallat29-Oct-05 10:20
professionalOmar Mallat29-Oct-05 10:20 
AnswerRe: Click throught a form Pin
[Marc]29-Oct-05 10:51
[Marc]29-Oct-05 10:51 
If it got it right, you have to do this:
public const int HTTRANSPARENT = -1;
public const int WM_NCHITTEST = 0x84;

protected override void WndProc(ref Message m){
    if (m.Msg == WM_NCHITTEST){
        m.Result = new IntPtr(HTTRANSPARENT );
    }
    else {
        base.WndProc(m);
    }
}
I do something like this in a sort of custom ToolTip class.

EDIT: kut wrong forum D'Oh! | :doh:
Public Const WM_NCHITTEST As Integer = 132
Public Const HTTRANSPARENT As Integer = -1

Protected Overrides Sub WndProc(ByRef m as Message)
    If (m.Msg = WM_NCHITTEST)
        m.Result = New IntPtr(HTTRANSPARENT )
    Else
        MyBase.WndProc(m)
    End If
End Sub

Pompiedompiedom... Wink | ;)
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick


-- modified at 16:51 Saturday 29th October, 2005
GeneralRe: Click throught a form Pin
Omar Mallat29-Oct-05 10:55
professionalOmar Mallat29-Oct-05 10:55 
GeneralRe: Click throught a form Pin
[Marc]29-Oct-05 10:56
[Marc]29-Oct-05 10:56 
GeneralRe: Click throught a form Pin
Omar Mallat29-Oct-05 10:59
professionalOmar Mallat29-Oct-05 10:59 
GeneralRe: Click throught a form Pin
[Marc]29-Oct-05 11:03
[Marc]29-Oct-05 11:03 
GeneralRe: Click throught a form Pin
Omar Mallat29-Oct-05 11:09
professionalOmar Mallat29-Oct-05 11:09 
GeneralRe: Click throught a form Pin
[Marc]29-Oct-05 11:26
[Marc]29-Oct-05 11:26 
GeneralRe: Click throught a form Pin
Omar Mallat29-Oct-05 11:59
professionalOmar Mallat29-Oct-05 11:59 
GeneralRe: Click throught a form Pin
[Marc]29-Oct-05 13:09
[Marc]29-Oct-05 13:09 
GeneralRe: Click throught a form Pin
Greeky30-Oct-05 0:23
Greeky30-Oct-05 0:23 
QuestionUser Control does not process KeyDown event Pin
Gulfraz Khan29-Oct-05 2:03
Gulfraz Khan29-Oct-05 2:03 
AnswerRe: User Control does not process KeyDown event Pin
Christian Graus30-Oct-05 11:51
protectorChristian Graus30-Oct-05 11:51 
GeneralRe: User Control does not process KeyDown event Pin
Gulfraz Khan30-Oct-05 23:56
Gulfraz Khan30-Oct-05 23:56 
Questioncon not find keycodev2.dll or invalid keycode Pin
mostafa_h29-Oct-05 1:44
mostafa_h29-Oct-05 1:44 
Questionmschart control Pin
amadullah29-Oct-05 1:37
amadullah29-Oct-05 1:37 
AnswerRe: mschart control Pin
Joshua Quick29-Oct-05 11:18
Joshua Quick29-Oct-05 11:18 
Questionputing a icon in treeview Pin
Paritos28-Oct-05 21:00
Paritos28-Oct-05 21:00 
AnswerRe: puting a icon in treeview Pin
S. Senthil Kumar29-Oct-05 19:28
S. Senthil Kumar29-Oct-05 19:28 

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.