English
Forum

wish: ListBox OwnerDraw SubClass

 
- Page 1 -


my question on Andreas Miethe, what richtigerweise with working stand could, around the Painting all individual Entries the ListBox so self To take, that one hPic drawn becomes instead of z.B. the Eintragstext.
CompileMarkSeparation
 
02/20/09  
 



 
- Page 1 -



Jörg
Sellmeyer
OK - now Have ichs too. having forget into Projekteinstellungen the new Runtime anzugeben. Runs means except for The Interpreter-/Runtime-Seltsamigkeit, The You supra erwähnt have.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
02/22/09  
 



the example shows, that it pity is, that The SubClassProc only WaitInput clutching.

go in the Programmablauf first of all The Listboxes created and befüllt, wonach then The Hauptschleife with WaitInput access becomes.

because The Messages lost are, go first of all no Items displayed.

446 kB
Kurzbeschreibung: without nachträgliches Anschubsen
Hochgeladen:03/02/09
Downloadcounter103
Download
446 kB
Kurzbeschreibung: with nachträglichem Anschubsen
Hochgeladen:03/02/09
Downloadcounter77
Download
448 kB
Kurzbeschreibung: nachträgliches Anschubsen sometimes wirkungslos
Hochgeladen:03/02/09
Downloadcounter96
Download
 
03/02/09  
 



Hmpf, even if I z.B. wm_drawItem additional as UserMessage deklariere circa the Hauptschleife mitzuteilen, that in ListBoxen Entries to drawing wären, then sustain I (naturally) weder in uwnd, ulparam yet uwparam a brauchbare Info - so I new draw could.

might one _nur inside the subClassProc and inside the waitInput addString indicate so The Entries too showing. :/

I teste time, whether one wm_command as UserMessage benefit can - ought to Yes with lbs_notfiy shipped go with lever the ListBox in the ulParam.

Nachtrag: wm_command won't triggered of addString - ldr. (too) no Solution.
 
03/02/09  
 



 
- Page 2 -


wm_compareItem would (half-way) suitable as UserMessage, only pity that one for lbs_sort on, and lbs_hasStrings turn off should. :/
 
03/02/09  
 




Uwe
''Pascal''
Niemeier

the example shows, that it pity is, that The SubClassProc only WaitInput clutching
 [...] 
I hit seldom something only from comfort to
 
03/02/09  
 



understand I do not integrally.
 
03/02/09  
 




Uwe
''Pascal''
Niemeier
so wished I intimate, that my suggestion, SubClassing on wish of WaitInput  independent To make, thoroughly meaningfully is, because this a expansion the Opportunities would
(in the Contrast to the Vorschlägen, The only on Vereinfachungen abzielen)

SeeYou
Pascal
 
03/02/09  
 



The wish existing but already long.

particularly, but not first since invention of subClassProc, mecker I and wish here and as a Stack not only for ProcAddr*.

*) might too the subClassProc-trouble to fix.

started hats with the User Messages and Start/EndPaint Better get going not terminate.

in the principle are The gestackten User Messages and the SubClassProc only one Workaround - it shining well everything else as simply The procAddr-Calls To stacken (with which everything else unnecessary would How userMessages and subClassproc).

Perhaps regt Roland very about time the talk shop on.

I can of course present How and why the so difficult is and How to the trouble to fix could - but these imaginations be based on one spekulierten XProfaninnenleben.
 
03/02/09  
 



show itself these Listboxes correctly?

I try strain whether it you don't say so is, such Listboxes somehow standardisiert with XProfan view without Anzeigebugs.

means
CompileMarkSeparationreact The ListBoxen in the Exe correctly and flimmern not?

448 kB
Hochgeladen:03/03/09
Downloadcounter85
Download
 
03/03/09  
 




Thomas
Freier
you'll not always new aufgebaut. particularly if only the Scrollpfeil using becomes (Image). becomes one other Window above pulled, becomes new aufgebaut.

17 kB
Hochgeladen:03/04/09
Downloadcounter126
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
03/04/09  
 




Rolf
Koch
is correct, very How Thomas says it'll new drawn.
 
03/04/09  
 



well, so are The Opportunities to there - reliable LBS_OWNERDRAWFIXED ListBoxen without gefährliches procAddr mere by subClassProc are you don't say so.
 
03/04/09  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.662 Views

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