Type: Posts; User: vb_lover
Search took 0.02 seconds.
August 2nd, 2015, 01:28 PM
A pretty old thread of mine, I decided to resolve this recently. Here is code on how to determine if text backcolor is transparent or more than one color was selected.
Public Type CHARFORMAT2...
1. Also I found that the Recent Files were stored in another location in the registry. Hkey_Users\.Default\Software\Microsoft\Visual Basic\6.0\Recent Files and if you delete the...
1. I found the answer to this question after searching the registry, HKey_Current_User\Software\Microsoft\Visual Basic\6.0\Recent Files
2. But where o' where are the bit maps stored for the...
1. In the IDE, what is the name of the file that holds the most recent project files that were loaded, the ones that are listed under the File menu? These file project files are also listed under...
February 25th, 2008, 11:38 AM
I am reading this 2+ years after your last post, don't know if you resolved this, or if you still subscriber to this thread. Did you ever come up with a solution to load thumbs faster?
February 20th, 2008, 09:44 AM
After testing the OLE features of the RTB and TB further, I have concluded that all standard text box OLE properties work properly. The RTF DropMode property works, however the RTF DragMode...
February 18th, 2008, 10:37 PM
My RTB._OLEDragOver event never fires, when RTB.OLEDragMode = rtfOLEDropManual. Have you actually tried this and it fires for you??
Private Sub Commad1_Click ()
February 17th, 2008, 07:52 AM
What i was looking for was a more explicit definition of DRAGGING. Would you agree that DRAGGING is to REMOVE data(move or copy), in this case selected text, FROM the control??????? The act...
February 17th, 2008, 01:08 AM
DG: I must presume that you are not sure what the OLEdragmode property is suppose to do.
Yea, i have already seen that example...doesn't help me in the least.
I guess this is just another...
February 17th, 2008, 12:55 AM
ClearData is only going to work if an OLE event fires...
DG: tell me if you know what the OLEdragmode property is suppose to do, seems like you are avoiding my repeated question...
February 17th, 2008, 12:28 AM
No...cant do that as the clipboard could contain data. Are you sure the clipboard even holds the drag data?...and remember no OLE events fire.
I say again...what is the OLEDragmode property...
February 17th, 2008, 12:18 AM
Setting the Readonly property, doesn't prevent the Copying of contents...only the moving...my hopes were to completely prevent copying or moving from the RTB, but i cant use the ReadOnly property...
February 17th, 2008, 12:05 AM
No can do with the readonly(I presume you mean rtb.locked) as the control has to accept keyboard input.
So...what is the OLEdragmode property for...is it broken?
February 16th, 2008, 10:07 PM
Using VB6, I am trying to inhibit draging FROM an RTB control.
It seems the rtb.OLEDragMode property has no effect, regardless if set to 0 automatic or 1 manual. No events fire, and I can...
February 4th, 2008, 11:29 PM
this is the proper call:
SendMessageLong rtb.hwnd, EM_ SETBKCOLOR, 0, vbRed
February 3rd, 2008, 05:52 PM
I don't normally post so I am not familiar with the tags here. They don't show up next to the editor as they do in other forums. When I get a chance I'll look into it.
But speaking of typos...
February 1st, 2008, 10:58 PM
I cant believe I spent hours on this....resolved
oh yea...use SendMessageLong
February 1st, 2008, 09:48 PM
The code in the mouseup event is not necessary and you can eliminate the moving flag with a case statement in the mousemove event. Only the pt variable is needed in the mousemove event.
February 1st, 2008, 02:39 PM
TranslateColor does not affect output shade as originally thought. I was using two RTBs and one was placed higher on my LCD screen, causing the green shade to appear different.
February 1st, 2008, 02:15 PM
I corrected my original post to reflect the proper spelling of the send message call (thanks).
The translatecolor is a simple wrapper for API OleTranslateColor. Using translatecolor always...
February 1st, 2008, 11:29 AM
DG: i think XtraCt wants to be able to move the image anywhere on the screen. There are no VB properties available that determine the screen position of the mousepointer are there?
February 1st, 2008, 11:19 AM
in the movemove event for the picture control:
include a case for 'Button' to determine if you want te left or right mouse button to perform tricks.
then use API GetCursorPos in...
February 1st, 2008, 10:15 AM
cf2 is a type structure as CHARFORMAT2
and the results of the sendmessage are returned within the structure.
In this case yHeight.
February 1st, 2008, 10:03 AM
I am unable to set the background color of an RTB using sendmessage.
I have tried everything I can think of, but it always displays "pea green".
sendmessage RTB.hwnd,EM_SETBKGNDCOLOR,0, vbgreen...
February 1st, 2008, 09:16 AM
corrected: sendmessage(rtb.hwnd, em_getcharformat, scf_selection,cf2)
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!