On Windows if your clipboard stops working it may be one of the following:
- Remote Desktop (see Summary for a trouble shooting guide)
- Virtual PC
As pointed out by Raymond Chen
On Windows if your clipboard stops working it may be one of the following:
As pointed out by Raymond Chen
My last post I mentioned I need a wiki. I used WikiMatrix to evaluate a few solutions and none of them jumped out at me. I realized my best bet is probably just to signup for a hosting service. Jaimi likes BlueHost and they have Tikiwiki and Wordpress. I could have everything in one place.
Then I over constrained the problem. If I am going to get a hosting service I need a domain. What should the domain be? I have no idea, I have been toying with that idea for two years and I can't converge. I tried NameBoy to get suggestions, and read the BLADAM post saying I should use a made up word that isn't too long, easy to spell, and doesn't sound like other words. That just over constrained my over constrained problem.
I am not going to settle for scottherriman.com (17 characters) because unless you are an artist, using your full name is lame (sorry if yours is). Herriman.com is taken. I think I want the domain to be professional software related. I am open to suggestions, you have any?
I decided that I would start writing a blog for two reasons. As an outlet for the thoughts on the project that I am working on and to capture details relating to problems that I come across or solve.
After leaving CallWave in September one of the many things that I miss is discussing software with people. My team listened to me pontificate on software design, implementation and the engineering process. That may not have been too much fun for them, but it was a good outlet for me. Otherwise we went out to lunch and batted around the same topics asking questions and sharing.
Most people at CallWave, myself included, use(d) email to store all sorts of information not documented anywhere else. After a few years it was obvious to me that this was a bad idea. Email is tough to search, gets lots, "the guy" that always forwarded "those details" might leave the company. I found that it was much better to dump those emails into a web page. CallWave had MS Sharepoint for this purpose. Not a lot of bells and whistles, but it did the job. Things could be arranged hierarchically, edited, hyperlinks inserted etc.
For the Client team usage, we might just copy and paste an email into a page with no reformatting, just to capture the information. I had a page for new team members. Each time I sent the link to some one new I reviewed the page and added/edited a few details. After a time I had a rather robust "new users guide". That was the pain free way to have a living document.
I realized the stuff that I am likely to blog about, "hey look at me I figured something out", is the least likely to be read. Just recently I wrote an entry about a problem I solved. The information is useful, I am likely going to want to refer to it later, but the article sucks. Not because the information is bad, just nobody is going to (or should) care. Besides, blogs are good for capturing current ideas in chronological order. They aren't meant to be a repository for information. Searching them is a pain, sure there are tags and Google Site Search. Still, if you can't recall exactly what you are looking for it stinks.
So, in the end it turns out I need a blog and a wiki. The wiki should house those technical details that I want to find later. The wiki is just for me, but none of the information is secret. I may as well stick it out there. If other people do find the knowledge useful they will appreciate that it is not buried in a blog.
Now I am in the process of selecting a hosted Wiki solution. I asked a few friends and they mostly suggested Wiki software. I need a service since I don't have any desire to be administrating servers. Any suggestions?
At GIPS, we have our own CWnd derived scroll bar. It is just a "regular old" window with the customary parts of a scroll bar. Up, Down buttons, track and thumb. You attach a window to a scroll bar (not vice versa as you would expect) and it forwards scrolling events to the attached window.
The problem is that scrolling performance is terrible when dragging the thumb
quickly. When you do so each WM_MOUSEMOVE message might span many (10's) pixels
equating to several (2 or more) scroll bar position changes. Root cause of poor
scrolling performance is we process each position change individually. For example if scrolling up we do the following.
for ( UINT i = lastScrollPos; i > newPosition; i-- )
{
attachedWindow->SendMessage(
message,
MAKEWPARAM(SB_LINEUP,0),
NULL );
}
In my case the loop above was running 2-14 times. The solution was to change SB_LINEDOWN to SB_THUMBTRACK and remove the loop.
m_slaveWindow->SendMessage(
message,
MAKEWPARAM( SB_THUMBTRACK, newPosition ),
NULL );
I was still left with an additional problem. List-View doesn't seem to like to get SB_THUMBTRACK directly as noted on CodeGuru:
List control will call GetScrolInfo function to get the current scroll box tracking position, so it is necessary to set the tracking position before sending WM_HSCROLL/WM_VSCROLL(TH_THUMBTRACK) message to it.
Unfortunately, SetScrollInfo function does not work when using
Note that ListCtrl really likes to get scroll notification via LVM_SCROLL. However, the general purpose scroll bar doesn't want to track that level of details. SPY++ revealed that List-View sends a WM_SYSCOMMAND / SC_VSCROLL followed by WM_VSCROLL / TH_THUMBTACK. I tried to send WM_SYSCOMMAND / SC_VSCROLL to no avail.
To resolve the List-View issue I changed the scroll bar to take a boolean indicating if we should use line by line scrolling. So windows, that require line by line scrolling can get the original unoptimized version. By default others get the optimized version.
Related Links:
CListCtrl Scroll Messages
How to skin CListCtrl incuding scrollbars and column headers
Number 1 is a fairly obvious problem. The crux is 2 & 3. Just because the document format is open doesn't mean that 2 & 3 will be satisfied. Unless there is monetary incentive you probably aren't going to go about creating your own software to read your high school English papers. I do agree that open document formats make it more likely you can do what you want today and in the future. However, they aren't the magic bullet to always being able to use your content.
Today people tend to demand software that interoperates well. Because of this most programs can save in a variety of formats, proprietary and non. This allows you the most flexibility.
If you are really worried about your data and documents I suggest you worry about the big picture:
I hope the better way to solve the problem is through Virtualization. Save your documents and applications in a complete virtualized environment. Then make sure you can run that on the next generation of systems. This is what many in the Apple II (you remember from elementary scool, with the green triangle Logo "turtle") have been doing for years. Be careful with the DRM content, who knows if you will be able to access that a year from now.
My final suggestion is to let it go. Don't even waste your time trying to save a bunch of content you are never going to look at again. If you can't open the file you probably don't really need the content. Leave the time capsule of great works to the professionals. Your work and mine probably isn't going to be included.