forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDSOBJ 3 Released
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Fri Nov 14, 2003 5:06 am    Post subject: Reply with quote

Hi Serge provided your sending the exact message ID's and parameters correctly it should function. If you're sending EM_ messages note that not all of these function with richedit controls - usually there is an equivelent message id however for a richedit. You should take a look at the win32.hlp file and also at CodeScript's TrayHelper Utility - download here, his utility will allow you to take api contants and get the message id's for them. Using the win32.hlp will then let you get the exact format that wparam and lparam require.
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Nov 14, 2003 6:53 am    Post subject: Reply with quote

hi prakash,

thanks for your reply...i gathered after my post that the code in question might not work because it is for an edit box and not a richedit box

as for your suggestion, i'm afraid that it is way over my head...will do without that feature...it would have been nice but certainly not an essential feature

thanks for your help

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Nov 14, 2003 9:24 am    Post subject: Reply with quote

Hi Serge
This is a quick spin I gave:

Code:
%Z = @SENDMSG(@OBJECT(GetHandle,RICHEDIT1),1091,0,16252657)


The above code should set the color of the richedit box in example 1
of VDSOBJ light green.
16252657 is a colorref value.
You can use a colrref converter utility I wrote
to get these values for a given color:
http://codescript.vdsworld.com/VDS5src/Colorrefcon_C-Spy.zip

Enjoy

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Nov 15, 2003 8:05 am    Post subject: Reply with quote

great stuff codescript...i just downloaded your script and i will test it on my laptop later on while i watch the evening movie

thanks a bunch Very Happy Very Happy Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Nov 29, 2003 2:30 pm    Post subject: Reply with quote

hi prakash,

sorry to bother you...i can't get the richedit background and foreground colors to work properly eg. black background and yellow text shows black text on black background...i tried various colour combinations and found that some work (eg. yellow text on red background) while a number of others don't...they just show the text as black even though i have opted for a non-black text colour

any ideas?!?

i am using the latest version of obj.dll

thanks for your time

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Nov 30, 2003 8:37 am    Post subject: Reply with quote

Hi Serge
May be that some colors are not supported by the richedit control.
U can try using standard richedit colors (U can get them fom the windows wordpad color options - U can use printscreen paste the image of the wordpad with the drop down color dialog and pick the pixel color of each in colorref values using the utility I maentioed in the above post. (I think VDSOBJ colorcombo example has this already done I think.
Beyond that Prakash may be able to help U more.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Nov 30, 2003 9:12 am    Post subject: Reply with quote

thanks codescript...i am using standard colours...the ones listed as working with richedit...hence the confusion!...i deliberatly avoided using non-standard colours but some such standard colours don't work eg. BLACK for the background and YELLOW for the foreground

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Nov 30, 2003 1:33 pm    Post subject: Reply with quote

May be then something to do with the DLL; Prakash may be able to help U more
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Wed Dec 03, 2003 1:32 am    Post subject: Reply with quote

Hi Serge,
Are you setting it as a style? OBJECT ADD, STYLE . Also can you please post your code here and I'll see what the problem might be.
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Dec 04, 2003 1:53 pm    Post subject: Reply with quote

thanks for your help pg... Embarassed i found the problem Embarassed i had added a line that blackened the font...i have absolutely no idea why i did that...it all works well now Embarassed Embarassed Embarassed

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Dec 15, 2003 6:35 pm    Post subject: Reply with quote

Update to VDSOBJ 3.12.9.2003

Fixed bug OBJECT CELL's CLEAR command, would throw up an error about incorrect control name/identifier.
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Dec 16, 2003 7:57 am    Post subject: Reply with quote

thanks pgware Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Wed Dec 31, 2003 5:50 pm    Post subject: Reply with quote

New Years Special Promotion

You can purchase a copy of the VDSOBJ at a $20 discount. The promotion ends at the end of this weekend.

You can purchase the VDSOBJ at:
https://secure.reg.net/product.asp?ID=8495

Enter Coupon Code NEWYEARS to get the $20 rebate.


-- THIS OFFER IS NO LONGER AVAILABLE ---


Last edited by PGWARE on Thu Jan 15, 2004 11:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Jan 01, 2004 2:00 am    Post subject: Reply with quote

great idea on the specials you are running pg Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Wed Jan 07, 2004 6:24 pm    Post subject: Reply with quote

Update - 3.1.7.2004 - DOWNLOAD HERE

New update adds support for VDS 5's new color values (eg. TEAL, BLUE, GREEN, etc) within the colorcombo and other dialog objects.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group