New autofilter behavior when selecting multiple files

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

wasker
Gold Member
Gold Member
Posts: 799
Joined: 2005 Oct 21, 16:33
Location: WA, USA
Contact:

Re: New autofilter behavior when selecting multiple files

Post by wasker »

Well, Shortcut field in Properties of any file shortcut looks proper.
I'm using Xplorer2 - the only file manager that does not suck. Actually, it rocks!
Kilmatead
Platinum Member
Platinum Member
Posts: 4573
Joined: 2008 Sep 30, 06:52
Location: Dublin

Re: New autofilter behavior when selecting multiple files

Post by Kilmatead »

I never said it couldn't be done, it's a matter of how the window (in this case the Customise Keyboard) is created and drawn by x2. If you've ever played with GUI's using the Win32 API proper, you'd find that once you get beyond the jocularity of creating buttons and checkboxes and edit-fields, things can get unexpectedly funky and there's always going to be at least one evil-bugger that just refuses to play by the rules.

If all the resources were created and compiled as individual entities within x2 during runtime, it would be easy enough to target a specific control if it requires a specialised bespoke style setting which can't be set as part of the control-declaration itself (in this case, telling Windows not to allow the 'msctls_hotkey32' control to "paint" itself).

But since these "forms" are all defined as flexible-resources, you'd have to go out of your way to target that one silly control (out of thousands) at its time of creation to override its style inheritance.

The question is not "can it be done?", but "is it worth the bother?" If this were a control of fundamental significance that was the be-all and end-all of how Gothic Architecture is interpreted via the influences of the Persian Empire, then I'd say "yeah, sounds good"... but since this is a minor control in a minor window on a minor operating system on a minor planet in a minor galaxy, even I'd have to say "as long as it works, it's beneath contempt". :shrug:

Nikos doesn't tend to fuss over the same sorts of minutia when he gets bored as I would. :wink: Which probably means he has a slightly healthier psychology than I do. A deathly boring and conservative psychology (especially after the family-thing) to be sure - mitigated and relieved by his interest in jazz, but that can only do so much in the modern age. Generally speaking, his favourite response to this sort of thing is "So you bought an aircraft carrier and you worry about a broken led light in some toilet?" [1]. Normally I'd poke fun at this attitude of his (because that's what life is about), but in this case, it's oddly applicable.

What MS does in the privacy of their own properties window does not a standard make. :D
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: New autofilter behavior when selecting multiple files

Post by nikos »

xplorer2 doesn't use windows hotkey control because it is limited. Instead it uses an edito control and subclasses it to do the job of a hotkey control. It looks like readonly because if it was default enabled edit control you could type in whatever you wanted
Kilmatead
Platinum Member
Platinum Member
Posts: 4573
Joined: 2008 Sep 30, 06:52
Location: Dublin

Re: New autofilter behavior when selecting multiple files

Post by Kilmatead »

That's more or less what I said above... "so it doesn't inherit the "bad stuff" from the EditControl (it's own drug-addicted father)..." I was just being flowery. :roll:

Which then begs the question why's it classed msctls_hotkey32? As far as I can tell, that's what's causes it to inherit the styles associated with edits in the first place (that's what a hotkey thingy is at heart anyway, drawn in a fashion similar to those date/time pickers which also require some post-stylising to work properly), hence the suggestion that SetStyle(ControlStyles.UserPaint, false) (or applicable) be used to prevent the default appearance of a read-only edit control...

Then again I could be sleeping-in right now, so broken LED's aren't really enough to move my bowels... :wink:
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: New autofilter behavior when selecting multiple files

Post by nikos »

you are reading the resource file; if you try spy++ to see the actual runtime class it isn't msctls_hotkey32 but EDIT
Kilmatead
Platinum Member
Platinum Member
Posts: 4573
Joined: 2008 Sep 30, 06:52
Location: Dublin

Re: New autofilter behavior when selecting multiple files

Post by Kilmatead »

I know it's an edit... that's what led me down the garden path to dig up little red riding-hood's grave in the first place. See, I think you did this on purpose: you intentionally created a bug that can't be readily fixed just to prove a point about what is and what is not a bug, and what really constitutes a broken LED.

You're getting more devious in your old age.

Just out of interest, why is msctls_hotkey32 "limited"? (Honest question - I've never used it outside of quick experimentation.) It's not like you're using it as the lynchpin touchstone of x2 customisation or anything. Though you did say this recently - which might be useful to hold you to ransom. :wink:
wasker
Gold Member
Gold Member
Posts: 799
Joined: 2005 Oct 21, 16:33
Location: WA, USA
Contact:

Re: New autofilter behavior when selecting multiple files

Post by wasker »

nikos wrote:xplorer2 doesn't use windows hotkey control because it is limited. Instead it uses an edito control and subclasses it to do the job of a hotkey control. It looks like readonly because if it was default enabled edit control you could type in whatever you wanted
Well, if you subclass it to accept very interesting key combos, why not to leave it enabled and non-read-only and don't let edit control to take regular input? Right now the whole thing looks confusing, as it's not clear, that this is THE place where you supposed to put your cursor and press keys. :rolleyes:
I'm using Xplorer2 - the only file manager that does not suck. Actually, it rocks!
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: New autofilter behavior when selecting multiple files

Post by nikos »

system hotkey control doesn't trap tab and other such keys
Post Reply