neither did 99% of the other replies, including yours and salem's.
and since when did "general discussion" have a yardstick?
edit: and why does there have to be a question that needs to be...
Type: Posts; User: Sea Monster
neither did 99% of the other replies, including yours and salem's.
and since when did "general discussion" have a yardstick?
edit: and why does there have to be a question that needs to be...
Before posting a question or a thread, one first has to search to see if the topic hasn't been discussed before, right?
But, you may not reply to any discussions around that topic, because that...
i always find the sort of replies in threads like these highly amusing.
anyone who claims that another programming language is a "joke" isn't worthy of the title "programmer".
If you search really hard, you might be able to find a copy of Charles Petzold's Programming Windows, 5th Edition somewhere on the net.
Perhaps it would be better or at least safer to use
NameOfFile=new char [MAX_PATH];
instead because MAX_PATH defines the maximum chars a path can have (260). it's defined in windef.h
http://www.scintilla.org/
Actually InvertRect calls BitBlt with those arguments anyway so it basically boils down to the same thing. I did however find out what the problem was and how to fix it.
Because BitBlt doesn't...
I think I've found the problem. InvertRect doesn't use a Brush to color the rect, so it seems like the output only gets reflected on the monitor. If I use FillRect with an alternating Black and...
i'm 'drawing' a colored rectangle on a subclassed Richedit control using InvertRect, but everytime the region gets covered by another control it reverts to the background color.
this is the code...
I'm working on something exactly like this but I'm using a thunk class to redirect the calls to the proper WndProcs.
#pragma warning(push)
#pragma warning(disable : 4355)
#if...
I might be mistaken, but I think you can only use EM_SETSEL if you want to place the cursor at a position < 64K on Windows 95/98 machines.
If you want to scroll through a larger piece of text then...
OK, so i decided to try this using a richedit control. i subclassed the control and now i'm trying to implement 'normal' text selection. the following code works, but it flickers quite badly. ...
aka block selection, vertical selection, column selection etc.
there are different modes of rectangular text selection. see the attached pic for examples.
now the question is, how do i...