English
Forum

right Click to list

 
- Page 1 -



Jörg
Sellmeyer
How can I a Click with the rechten (sekundären) Mouse button on one List view evaluate? (without The berühmte Dll one begnadeten Programmieres! )
and I strain thereby be. I suspect time, that the edit of Items in Listviews one feature besagter Dll is and Windows really only The first slot for vorgesehen has, or?
herewith functions it namely only with the first slot:
SendMessage(hLV&,$1017,0,0)

For this must first thing The the List view yet scharfgeschaltet go:
SetStyle hLV&,GetStyle(hLV&) | $200
who can tell council?

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/02/06  
 



 
- Page 1 -



Jörg
Sellmeyer
is the because sooo komplieziert? really should still in %notifycode one unterschiedlicher worth stand, depending on with which Mouse button one clicking. comes but unfortunately always the same Result.

with Ner Listbox happens with Rechtsklick quite nothing. For this gives Clicked at List view quite no Result.
with Getfocus is the worth always -121

here can time different behaviors see:
CompileMarkSeparation
is the now bow or feature? when comes Roland again again??
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/02/06  
 




Jac
de
Lad
Hm...there can I you anyway not help...Perhaps Fank.

PS: with the EasyVENT works wonderful!

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
09/02/06  
 




Frank
Abbing
If a WM_NOTIFY Message receive becomes, standing in LPARAM the Pointer on a structure (NMHDR). The dritte worth (code) in this structure is the worth the Ereignisses, which stattgefunden has:


NM_CLICKThe user has clicked the left mouse button within the control.
NM_DBLCLKThe user has double-clicked the left mouse button within the control.
NM_KILLFOCUSThe control has lost the input focus.
NM_OUTOFMEMORYThe control could hardship complete on operation because there what hardship enough memory available.
NM_RCLICKThe user has clicked the right mouse button within the control.
NM_RDBLCLKThe user has double-clicked the right mouse button within the control.
NM_RETURNThe control has the input focus, and the user has pressed the ENTER key.
NM_SETFOCUSThe control has received the input focus.


Hollfe, the helps you moreover.
 
09/03/06  
 




Frank
Abbing
I again.

Habs straight time ausprobiert. Folgender code ought to functions, power But not:


Case ((%wmNotify) and (&NotifyWnd=listview&)): Print %NotifyCode


Ergebniss is always -121. of my opinion after a eindeutiger Profan-bow!
I yourself resolve these items eh always in the Subclassing and Assemblercode. therefore falls me something like meisstens not.
 
09/03/06  
 




Jörg
Sellmeyer

Ergebniss is always -121. of my opinion after a eindeutiger Profan-bow!


very! Rooooolaaaand!
Hhhm! very How with the police: If one tappt im dunkeln need, is tappt im dunkeln not there.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/03/06  
 




Jörg
Sellmeyer
somehow look ichs not. After my understanding should it still so functions, or?
CompileMarkSeparation
 $H Structs.ph
Struct Notify = ~NMHDR
Declare NM#
Dim NM#,Notify
Cls
Declare Lv&,Lb&
Lv&=Create(Gridbox,%Hwnd,Test;0;100;Test1;0;100,0,210,10,210,400)
Lb&=Create(Listbox,%Hwnd,0,430,10,150,400)

Whileloop 10

    Addstring(Lv&,test)
    Addstring(Lb&,test)

Wend

Declare Ende%

Whilenot Ende%

    Waitinput

    If %wmnotify

        NM# = &LPARAM

        With NM#

            Print .hwndFrom&,.idFrom&,.code&,&LPARAM,NM#

        EndWith

    EndIf

    Locate 1,1

    If Equ(%Key,2)

        Let Ende%=1

    Endif

Wend

Dispose NM#
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/03/06  
 




RGH
Jörg Sellmeyer
is the because sooo komplieziert? really should still in %notifycode one unterschiedlicher worth stand, depending on with which Mouse button one clicking. comes but unfortunately always the same Result.


means with Your (unchanged) example there in the GridBOX with the a Mouse button -2 and with the others -5. where exactly the trouble?

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
09/03/06  
 




Jörg
Sellmeyer
ought to I a RC verpaßt having or have You another Version???
first Click with left, zweiter with right. (List view)

now Have I The Listbox forget.
there comes with right garnichts on. with left at first clicking -150 and then -8.

19 kB
Hochgeladen:09/03/06
Downloadcounter47
Download
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/03/06  
 




RGH
Hi,
you have The actually Version, but I have it under windows 2000 tested and not XP. and with whom Notify-stories hears there evident Microsofts compatibility on. i'll me the into next Meet time hither standing. (for the time being could You it time with Messagemode 2 try.)

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
09/03/06  
 



 
- Page 2 -



Jörg
Sellmeyer
well, at least having we now time a cause and a blameful (BG).
Messagemode 2 nützt too nothing. always -121, only now with eachone Mausbewegung to klick the LV.

alas Yes, what about me hope you had a lovely leave!! red you now not stressen, lest The whole pickup same lane is!!!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/03/06  
 




Frank
Abbing
Hi.

I yourself could in the relationship no Veränderung between windows98 and XP check. clear come More Messages on, but, The same Variante (WM_NOTIFY->NM_RCLICK)
in the Subclassing quizzed functions fine. therefore faith I do not, that here Windowsbug vorliegt.

Hello back, Roland!

P.s.: To this Topic have I a already right middle-aged Thread found:
[...] 
 
09/03/06  
 




Jörg
Sellmeyer
with so nem still right wüsten Konstrukt goes it first time:
CompileMarkSeparation
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/03/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.127 Views

Untitledvor 0 min.
Michael W.07/04/16
Ernst05/21/16
Andre Rohland12/31/14
maroro06/12/14
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie