home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,782 of 10,840   
   Blog the Haggis to All   
   Rich Text Box Image Handling   
   14 Dec 05 12:54:46   
   
   From: NoSpam@NoSpam.org   
      
   Hi everyone,   
      
   The program I am writing has a rich text window showing particular types of   
   data message, and my plan is to insert a small BMP image before each message   
   depending on its type.   
      
   So far the images are showing up fine, but when you click the image it   
   allows you to resize the BMP to arbitrary dimensions.   
      
   Is there a way to gain access to the properties of these images at run time   
   to disable this behaviour? Or is there any way to redirect/ignore the click   
   event on these images?   
      
   I've successfully tried both the 'clipboard - paste' and 'OLEObjects.Add'   
   method to print on the RT Box but both behave the same way when you click an   
   image. Locking the text box has no effect either.   
      
   Any clues would be greatly appreciated.   
      
       -Duncan   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca