![]() ![]() See those two open.close operations? That’s two WM_DRAWCLIPBOARD messages that go out on the chain. However, sometimes people (or large companies) write programs that open, clear, close, open, update, close. It’s simple – open, clear, update, close. You’re supposed to open the clipboard, erase the clipboard, add your data (for all formats), close the clipboard. If the user copies something, then you should create one, and only one, clipboard update. Multiple Updates – One common clipboard error is where an application updates the clipboard several times in a row, for the same operation.Some are errors, others are just things that you need to be careful about, so that compatibility problems are minimized. There are some ways of using the clipboard that seem ok while you’re developing the application, but which later on, cause trouble, either within your application, or when interacting with other apps or clipboard viewers. Copyright 1999-2007, Thornsoft Development, Inc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |