Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tenshekels

    Tooltip for ActiveX on Toolbox

    My goal is to fix the initial issue - to cause it so that the tooltip text will set properly by default. Not that the user can set it afterwards. I want it to appear correctly when the user adds the ActiveX control to the toolbox - and am wondering why it is coming up as "Unknown"...
  2. tenshekels

    Tooltip for ActiveX on Toolbox

    I have a VB ActiveX that I have compiled. When I add the ActiveX to the "Toolbox" it shows up with a tooltip of "Unknown". I would like to have the tooltip refer to the name of the control. Is there a way to do this? What is VBA reading to set as the default for this tooltip?
  3. tenshekels

    Timing of ActiveX events ReadProperties and AmbientChanged

    When an ActiveX control goes into runtime and the ReadProperties and (possibly) AmbientChanged events fire off - can I be sure that ReadProperties will always occur first or does it depend on the container? thanks.
  4. tenshekels

    Unloading dynamic control array - memory leak

    I have a control array of items that I have to constantly have to dynamically add/remove items from (depending on the position of a scrollbar). The problem is that eventually the size of the control gets bigger and bigger. I use the "Load sections(intCtr)" to load a new control dynamically...
  5. tenshekels

    Picture while OLE drag/drop???

    This sounds good, but I can't get it to work. When I try it in my app - it appears that the mouse icon switches between what I specify in "Screen.MouseIcon = ..." and the result mouse image - based on what I specify in setting the AllowedEffects variable during the StartDrag event (either...
  6. tenshekels

    Picture while OLE drag/drop???

    Is there any way to set the icon that is displayed on an OLE drag drop?? It does not look like VB6 implemented the "OleDragPicture" property anywhere.
  7. tenshekels

    Troublesome ZOrder

    I have a User Control that I want a picture box to go over. I add the User Control dynamically to the form - and I can not figure out a way to dynamically add this User Control to a frame (that I also, create dynamically). Any ideas?
  8. tenshekels

    Free Icons for Undo, Redo, Save

    Undo/Redo graphic can be found in: Microsoft Visual Studio .NET 2003\Common7\Graphics\bitmaps\OffCtlBr ..but they are in bitmap format...
  9. tenshekels

    Free Icons for Undo, Redo, Save

    Thanks for your reply! I noticed the icons in these folder actually. I must have overlooked the "Save" icon listed in the "Computer" subdirectory. However, there really are no icons for "Undo" and "Redo" in any of these folders...
  10. tenshekels

    Free Icons for Undo, Redo, Save

    Does anyone know where to get free icons for my program. I need the icons for undo, redo, save. I would like ones similiar to the icons that Microsoft used in Office 97 - but I can not find them... And of course, I don't want to be violating any copyright laws - I don't understand how these...
  11. tenshekels

    ArrayList size of elements

    Someone else informed me... "Actually, you'd end up taking more than that - 4 bytes for the actual value, 8 bytes (IIRC) object overhead, and 4 bytes for the reference in the ArrayList. Basically, you don't want to be doing that... "
  12. tenshekels

    ArrayList size of elements

    To answer my own question - the byte value is "boxed" - therefore for each byte you add an "object" and a "byte" to the heap (the "object" is a reference to the "byte" value). So an array instance of 1,000 "bytes" would occupy 5,000...
  13. tenshekels

    ArrayList size of elements

    Does anyone know how the ArrayList works in regards to sizing of elements? What I mean is if you add 1,000 byte values to an ArrayList does that mean that the ArrayList is then 1,000 bytes long - or does it store each byte as a generic "object" - thus storing it as a 4 bytes each??
  14. tenshekels

    Creating a new TreeNodeCollection (and getting handles,...)

    Thanks again for your input! I changed your scenario around a bit to get something that works for me... public class ICNodeCollection { private TreeNodeCollection nodes; public ICNodeCollection(TreeNodeCollection treeNodes) { nodes = treeNodes; } .... (add special...
  15. tenshekels

    Creating a new TreeNodeCollection (and getting handles,...)

    Hey, thanks for the help obislavu. However - this will not work. Since the constructor is internal I cannot create an instance of the TreeNodeCollection class (on heap - using "new" keyword). Therefore, if I tried your solution and tried accessing the "tnc"'s methods - I...
  16. tenshekels

    Need "ghost" label to appear above derived TreeView.

    Not entirely solved... I am still unsatisfied that I can not have a label control inside the derived TreeView class and have that render in front over the rest of the TreeView structure.
  17. tenshekels

    Creating a new TreeNodeCollection (and getting handles,...)

    I have derived new classes for the TreeNode and TreeView classes that Microsoft provides. Since the TreeNodeCollection class is sealed I created my own class that implements the IList interface. However, the original TreeNodeCollection class does something important on the "Add&quot...
  18. tenshekels

    Need "ghost" label to appear above derived TreeView.

    Duh... I needed the ".BringToFront" method. Sorry for my stupidness. One thing I was trying to do was to have a label control inside my derived TreeView class and to have that label control appear in front of the rest of the image. I still couldn't get that to happen - even with the...
  19. tenshekels

    Need "ghost" label to appear above derived TreeView.

    I placed the label over the control and realized that it's zorder must be behind the control. So I used the "Send to Front" option in the design view to fix the problem. However, this still doesn't really make me happy. Why doesn't Microsoft allow you to do this programatically...
  20. tenshekels

    Need "ghost" label to appear above derived TreeView.

    I have been using a label with the TreeView control - to simulate the ghost image of a node during drag/drop (so that a ghost of the node appears to be floating next to the cursor on a drag/drop). This works peachy when I had a form that used the TreeView control (from Microsoft). The time...

Part and Inventory Search

Back
Top