Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

handa29

@handa29
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Professional Icon Packs
    H handa29

    Check out the stock icons from GlyphLab. Each icon comes in a bunch of different sizes and formats. The guy who runs the shop (David) has been very helpful each time I've asked a question. And the pricing is great -- just $199. http://www.glyphlab.com/stock\_icons/ - Anthony www.flospace.com

    The Lounge question

  • Using EM_GETRECT and EM_SETRECT for RTF boxes in C#?
    H handa29

    Okay, don't get hung up on the fact that I called the public property, "DisplayRect". I know there's already a public property on RTF boxes called DisplayRectangle. The point of this exercise is to understand how to use the 2 Windows constants in sending messages to Windows asking for this info, and then setting a new value. Since there doesn't seem to be any other C#-specific examples out there in the world, this would be *really* useful! Thanks! Anthony

    C# csharp c++ winforms tutorial question

  • Using EM_GETRECT and EM_SETRECT for RTF boxes in C#?
    H handa29

    Hi, folks! I've made a sub-class of the System.Windows.Forms.RichTextBox called "MyRtfBox". Within my rtf box, I want to add a few properties which allow me to directly access some of the advanced properties of the rtf textbox, such as line count, getting the scrollbar thumb's position, etc. I'm glad to say that I've figured all of that out, EXCEPT for how to get and set the display rectangle using Windows Forms Messages! I've looked all over the web and can't find any articles anywhere in C# that show how to use these two Messages. The examples I've seen in C++ and VB don't seem to translate well to C#. Does anyone have a clue? When it's all set and done, I'd like to have a sub-classed RTF box with this public property... //Taken from the Windows constants list. private const int EM_GETRECT = 0x00b2; private const int EM_SETRECT = 0x00b3; public Rectangle DisplayRect { get { Rectangle rect = new Rectangle(); //Send a message to Windows somehow! return rect; } set { //Send a message to Windows using the given Rectangle parameter. } } Many thanks!! Anthony

    C# csharp c++ winforms tutorial question

  • Save Thumbnail Image to File
    H handa29

    Just to clarify... I'm not asking how to create a thumbnail of any given image. Fortunately, there are a ton of resources out there on that topic. I'm asking how to apply a "preview thumbnail" to a file so that when the user is browsing through his harddrive, he'll be able to see it without opening the file. For example, create a drawing in Visio and save the file. Now open the folder which contains the saved Visio document. Change the view style for the folder from "Details" (or "List" or whatever) to "Thumbnails". Instead of seeing the Visio file type icon representing the document, you'll actually see a "preview thumbnail" of the first tab's drawing in the folder. Cool! So how can we achieve the same effect? Thanks! Anthony

    C# question algorithms data-structures

  • Save Thumbnail Image to File
    H handa29

    Hi, folks -- I did a ton of searching today on Google and searched The Code Project's forums but haven't been able to find an answer to this question yet. (Too much noise from related topics, I think.) But I *know* I ran across something on this topic a month ago or so... Anyways, I'm writing an app that allows you to create graphs. So I'd like to create a small thumbnail of the graph and apply it to the File so that when the user is in a folder in Thumbnails view, the user can see a that thumbnail. Can someone point me to an article, blog, or other posting with info on this topic? Many thanks! Anthony

    C# question algorithms data-structures
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups