
OS/Win
fanbird2008
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VS2012中“工具>选项中的VC++目录编辑功能已被否决”解决方法
本文转载自“Erin 技术交流 空间” 原文地址http://hi.baidu.com/erintojerry/blog/item/f078d70b333c1ccb62d9868e.html这是VS2010的改变,不能够在“工具-选项”中看到“VC++目录”了。 但是呢,我们可以在另外一个地方找到它,请看下边的对比照片。VS2008中:VS2010中:转载 2013-03-13 21:58:36 · 13743 阅读 · 4 评论 -
windows cygwin android ndk compile env setup
1. install cygwin and check env gcc g++ gdb check2. install android-ndk of window version3. edit /home/someuser/.bash_profileANDROID_NDK_ROOT=/cygdrive/d/cygwin/opt/android-ndk-r8bexport原创 2012-11-15 13:54:55 · 544 阅读 · 0 评论 -
Visual Studio Macro View
1. click Tool -- Visual Studio Command Prompt2. run set command to view原创 2013-03-13 22:17:23 · 935 阅读 · 0 评论 -
Windows下利用MinGW编译FFmpeg
http://chfj007.blog.163.com/blog/static/17314504420121144223910/转载 2012-06-28 12:59:08 · 568 阅读 · 0 评论 -
windows 查看端口占用进程
目标:在Windows环境下,用netstat命令查看某个端口号是否占用,为哪个进程所占用.操作:操作分为两步:(1)查看该端口被那个PID所占用;方法一:有针对性的查看端口,使用命令Netstat –ano|findstr “”,如图,最后一列为PID。图中的端口号为1068,所对应的PID为3840。 (a)图方法二:查看所有的,然后转载 2013-11-26 15:47:32 · 857 阅读 · 0 评论 -
Makefile on windows
######################### Read Me ######################### # 任何版本的vs都是支持makefile编译的 # # Makefile文件中以#开始到行结束为注释 # 语法详见: # http://msdn.microsoft.com/en-us/library/yz1tske6(v=VS.100).aspx转载 2013-12-02 10:30:13 · 697 阅读 · 0 评论 -
Windows Message Codes
http://www.autoitscript.com/autoit3/docs/appendix/WinMsgCodes.htm Sorted by NameSorted by Code MessageCode CodeMessageWM_ACTIVATE0x0006 0x0000WM_NU转载 2013-12-28 20:34:28 · 853 阅读 · 0 评论 -
Windows Structures Set
1. SCROLLINFO2.转载 2013-12-28 20:38:14 · 647 阅读 · 0 评论 -
Win32 Series - An Introduction to GDI
http://www-user.tu-chemnitz.de/~heha/petzold/ An Introduction to GDITo paint the client area of your window, you use Windows' Graphics Device Interface (GDI) functions. Windows provides several转载 2013-12-28 20:38:33 · 1126 阅读 · 0 评论 -
Win32 Series - Scroll Bars
http://www-user.tu-chemnitz.de/~heha/petzold/Scroll BarsScroll bars are one of the best features of a graphical user interface. They are easy to use and provide excellent visual feedback. You ca转载 2013-12-28 20:38:50 · 1033 阅读 · 0 评论 -
Win32 Series - Building a Better Scroll
http://www-user.tu-chemnitz.de/~heha/petzold/ Building a Better ScrollSYSMETS2 works well, but it's too inefficient a model to be imitated in other programs. Soon I'll present a new version th转载 2013-12-28 20:39:05 · 876 阅读 · 0 评论 -
Win32 Series - The Device Context
http://www-user.tu-chemnitz.de/~heha/petzold/ The Device ContextBefore we begin drawing, let's examine the device context with more rigor than we did inChapter 4. When you want to draw o转载 2013-12-28 20:39:19 · 1382 阅读 · 0 评论 -
Win32 Series - Drawing Filled Areas
http://www-user.tu-chemnitz.de/~heha/petzold/Drawing Filled AreasThe next step up from drawing lines is filling enclosed areas. Windows' seven functions for drawing filled areas with borders are转载 2013-12-28 20:40:33 · 789 阅读 · 0 评论 -
Win32 Series - The GDI Mapping Mode
http://www-user.tu-chemnitz.de/~heha/petzold/ The GDI Mapping ModeUp until now, all the sample programs have been drawing in units of pixels relative to the upper left corner of the client area.转载 2013-12-28 20:40:43 · 1089 阅读 · 0 评论 -
Win32 Series - Keystroke Messages
http://www-user.tu-chemnitz.de/~heha/petzold/ Keystroke MessagesWhen you press a key, Windows places either a WM_KEYDOWN or WM_SYSKEYDOWN message in the message queue of the window with the转载 2013-12-28 20:41:04 · 1109 阅读 · 0 评论 -
Win32 Series - The Caret (Not the Cursor)
http://www-user.tu-chemnitz.de/~heha/petzold/ The Caret (Not the Cursor)When you type text into a program, generally a little underline, vertical bar, or box shows you where the next character转载 2013-12-28 20:41:43 · 946 阅读 · 0 评论 -
Win32 Series - Client-Area Mouse Messages
http://www-user.tu-chemnitz.de/~heha/petzold/ Client-Area Mouse MessagesIn the previous chapter, you saw how Windows sends keyboard messages only to the window that has the input focus. Mou转载 2013-12-28 20:41:53 · 791 阅读 · 0 评论 -
Win32 Series - Nonclient-Area Mouse Messages
http://www-user.tu-chemnitz.de/~heha/petzold/ Nonclient-Area Mouse MessagesThe 10 mouse messages discussed so far occur when the mouse is moved or clicked within the client area of a window. I转载 2013-12-28 20:42:27 · 630 阅读 · 0 评论 -
Win32 Series - Hit-Testing in Your Programs
http://www-user.tu-chemnitz.de/~heha/petzold/ Hit-Testing in Your ProgramsEarlier I discussed how Windows Explorer responds to mouse clicks and double-clicks. Obviously, the program (or more p转载 2013-12-28 20:44:21 · 687 阅读 · 0 评论 -
Win32 Series - Using the Timer: Three Methods
http://www-user.tu-chemnitz.de/~heha/petzold/ Using the Timer: Three MethodsIf you need a timer for the entire duration of your program, you'll probably callSetTimer from the WinMain functio转载 2013-12-28 20:45:02 · 790 阅读 · 0 评论 -
Win32 Series - Drawing Dots and Lines
http://www-user.tu-chemnitz.de/~heha/petzold/ Drawing Dots and LinesIn the first chapter, I discussed how the Windows Graphics Device Interface makes use of device drivers for the graphics out转载 2013-12-28 20:40:22 · 1704 阅读 · 0 评论 -
Win32 Series - Rectangles, Regions, and Clipping
Rectangles, Regions, and ClippingWindows includes several additional drawing functions that work with RECT (rectangle) structures and regions. A region is an area of the screen that is a combinati转载 2013-12-28 20:40:54 · 1274 阅读 · 0 评论 -
Win32 Series - Character Messages
http://www-user.tu-chemnitz.de/~heha/petzold/ Character MessagesEarlier in this chapter, I discussed the idea of translating keystroke messages into character messages by taking shift-state i转载 2013-12-28 20:41:17 · 729 阅读 · 0 评论 -
Win32 Series - Capturing the Mouse
Capturing the MouseA window procedure normally receives mouse messages only when the mouse cursor is positioned over the client or nonclient area of the window. A program might need to receive mou转载 2013-12-28 20:44:32 · 837 阅读 · 0 评论 -
Win32 Series - The Mouse Wheel
http://www-user.tu-chemnitz.de/~heha/petzold/ The Mouse Wheel"Build a better mousetrap and the world will beat a path to your door," my mother told me, unknowingly paraphrasing Emerson. Of cou转载 2013-12-28 20:44:41 · 655 阅读 · 0 评论 -
Win32 Series - Using the Timer for a Clock
http://www-user.tu-chemnitz.de/~heha/petzold/ Using the Timer for a ClockA clock is the most obvious application for the timer, so let's look at two of them, one digital and one analog.Bui转载 2013-09-06 09:49:47 · 1566 阅读 · 0 评论 -
Win32 Series - Child Window Controls
http://www-user.tu-chemnitz.de/~heha/petzold/ Child Window ControlsRecall from Chapter 7 the programs in the CHECKER series. These programs display a grid of rectangles. When you click the转载 2013-12-29 09:23:48 · 829 阅读 · 0 评论 -
Win32 Series - Controls and Colors
http://www-user.tu-chemnitz.de/~heha/petzold/ Controls and ColorsAs you can see in Figure 9-2, the display of many of the buttons doesn't look quite right. The push buttons are fine, but th转载 2013-12-29 09:24:37 · 1083 阅读 · 0 评论 -
Win32 Series - The Scroll Bar Class
http://www-user.tu-chemnitz.de/~heha/petzold/ The Scroll Bar ClassWhen the subject of scroll bars first came up in Chapter 4, I discussed some of the differences between "window scroll bars"转载 2013-12-29 09:24:58 · 1015 阅读 · 0 评论 -
Win32 Series - The Edit Class
http://www-user.tu-chemnitz.de/~heha/petzold/ The Edit ClassThe edit class is in some ways the simplest predefined window class and in other ways the most complex. When you create a child wind转载 2013-12-29 09:25:18 · 690 阅读 · 0 评论 -
Win32 Series - The Listbox Class
The Listbox ClassThe final predefined child window control I'll discuss in this chapter is the list box. A list box is a collection of text strings displayed as a scrollable columnar list within a r转载 2013-12-29 09:25:29 · 1185 阅读 · 0 评论 -
Win32 Series - Menus
http://www-user.tu-chemnitz.de/~heha/petzold/ MenusDo you remember the Monty Python skit about the cheese shop? Here's how it goes: A guy comes into a cheese shop and wants a particular type转载 2013-12-29 09:25:43 · 788 阅读 · 0 评论 -
Win32 Series - Beyond Simple Clipboard Use
http://www-user.tu-chemnitz.de/~heha/petzold/ Beyond Simple Clipboard UseWe've seen that transferring text from the clipboard requires four calls after the data has been prepared:Ope转载 2013-12-29 09:27:15 · 744 阅读 · 0 评论 -
Win32 Series - The Bit-Block Transfer
http://www-user.tu-chemnitz.de/~heha/petzold/ The Bit-Block TransferAs I mentioned earlier, you can think of the entire video display as one big bitmap. The pixels you see on the screen ar转载 2013-12-29 09:27:48 · 962 阅读 · 0 评论 -
Win32 Series - The GDI Bitmap Object
http://www-user.tu-chemnitz.de/~heha/petzold/ The GDI Bitmap ObjectI mentioned earlier in this chapter that Windows has supported a GDI bitmap object since version 1.0. Because of the introdu转载 2013-12-29 09:28:05 · 2158 阅读 · 0 评论 -
Win32 Series - DIB Displaying and Printing
http://www-user.tu-chemnitz.de/~heha/petzold/ Displaying and PrintingBitmaps are for looking at. In this section, we'll begin by looking at the two functions that Windows supports for display转载 2013-12-29 09:29:15 · 1513 阅读 · 0 评论 -
Win32 Series - Modal Dialog Boxes
http://www-user.tu-chemnitz.de/~heha/petzold/ Modal Dialog BoxesDialog boxes are either "modal" or "modeless." The modal dialog box is the most common. When your program displays a modal d转载 2013-12-29 09:26:04 · 1921 阅读 · 0 评论 -
Win32 Series - Modeless Dialog Boxes
Modeless Dialog BoxesAt the beginning of this chapter, I explained that dialog boxes can be either "modal" or "modeless." So far we've been looking at modal dialog boxes, the more common of the tw转载 2013-12-29 09:26:29 · 897 阅读 · 0 评论 -
Win32 Series - The Common Dialog Boxes
http://www-user.tu-chemnitz.de/~heha/petzold/ The Common Dialog BoxesOne of the primary goals of Windows when it was initially released was to promote a standardized user interface. For many转载 2013-12-29 09:26:58 · 1082 阅读 · 0 评论 -
Win32 Series - Simple Use of the Clipboard
http://www-user.tu-chemnitz.de/~heha/petzold/ Simple Use of the ClipboardWe'll begin by looking at the code involved for transferring data to the clipboard (Cut and Copy) and getting acces转载 2013-12-29 09:27:30 · 988 阅读 · 0 评论