Pook Posted April 26, 2007 Share Posted April 26, 2007 Okay.. My program is working fine but I have a little problem. I've been asked me make it so that users can highlight & copy the information. I've been looking at some posts, but I can't find anything about this. (Or I'm not looking in the right place) Any idea on how I can do this with out alot of code changes Example of code now: GUICtrlCreateLabel('' & $UserObj.Department, 100, 90, 200, 20) GUICtrlCreateLabel('' & $UserObj.TelephoneNumber, 100, 110, 300, 20) GUICtrlCreateLabel('' & $UserObj.TelephoneMobile, 100, 130, 300, 20) GUICtrlCreateLabel('' & $UserObj.HomeDirectory, 100, 200, 350, 20) GUICtrlCreateLabel('' & $UserObj.EmailAddress, 100, 160, 350, 20) Link to comment Share on other sites More sharing options...
yxrkt Posted April 26, 2007 Share Posted April 26, 2007 Okay.. My program is working fine but I have a little problem. I've been asked me make it so that users can highlight & copy the information. I've been looking at some posts, but I can't find anything about this. (Or I'm not looking in the right place) Any idea on how I can do this with out alot of code changesExample of code now: GUICtrlCreateLabel('' & $UserObj.Department, 100, 90, 200, 20) GUICtrlCreateLabel('' & $UserObj.TelephoneNumber, 100, 110, 300, 20) GUICtrlCreateLabel('' & $UserObj.TelephoneMobile, 100, 130, 300, 20) GUICtrlCreateLabel('' & $UserObj.HomeDirectory, 100, 200, 350, 20) GUICtrlCreateLabel('' & $UserObj.EmailAddress, 100, 160, 350, 20)GUICtrlCreateinput('' , 10, 90, 200, 20,$ES_READONLY,0x00000000) Link to comment Share on other sites More sharing options...
Pook Posted April 26, 2007 Author Share Posted April 26, 2007 GUICtrlCreateinput('' , 10, 90, 200, 20,$ES_READONLY,0x00000000)Thanks that works!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now