replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Curious about %lv options
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Curious about %lv options

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1257
Location: Morrison, CO, USA

PostPosted: Wed May 22, 2019 2:39 pm    Post subject: Curious about %lv options Reply with quote

I am curious about this only. Not asking for a change!

I have a %lv that I would like to make un-accessible via a grey control. The documentation is clear that the tilde is not a permitted option for %lv. However, I tried it anyway. The tilde was ignored, and the error thrown that I had provided an additional winio@() parameter.

I was curious if a grey control is restricted from use since %lv is (also according to the documentation) a window. Shall I try adding a %lc and use the show/hide window functions?

Thanks,
Bill
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu May 23, 2019 1:07 pm    Post subject: Reply with quote

Bill

%lv does not take a tilde. Also it does not fault if one is supplied but this can be fixed.

You could get the hwnd of the control via %lc and then use it in a call to EnableWindow(hwnd, v) where v is 32 bit integer with value 0 or 1.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1257
Location: Morrison, CO, USA

PostPosted: Thu May 23, 2019 2:04 pm    Post subject: Reply with quote

Paul, thanks. I suspected as much!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group