|
點擊 |
回復 |
標題 |
作者 |
最後回復 |
|
296 |
1 |
|
巨大八爪鱼 |
2-6 巨大八爪鱼 |
|
627 |
7 |
|
巨大八爪鱼 |
5-24 巨大八爪鱼 |
|
102 |
1 |
@啊啊是誰都對 |
巨大八爪鱼 |
12-5 啊啊是谁都对 |
|
190 |
3 |
一般情況下,我們是用不帶邊框的對話框來充當Tab Control的每個選項卡的內容的。 例如,主對話框IDD_TABBOX上有一個Tab Control,上面有兩個選項卡,第... |
巨大八爪鱼 |
12-3 巨大八爪鱼 |
|
112 |
0 |
RegisterClassEx 註冊窗口類 CreateWindowEx 創建窗口 ShowWindow 顯示窗口 UpdateWindow... |
巨大八爪鱼 |
12-3 巨大八爪鱼 |
|
169 |
1 |
那屬性表(Property Sheet)為什麼能成功去除呢? 我猜是因為屬性表在內部提取了對話框模板裡面的所有控制項然後單獨顯示,並沒有帶上對話框本身,所以才可以沒有背景。 |
巨大八爪鱼 |
7-28 巨大八爪鱼 |
|
183 |
1 |
使鍵盤上的Tab鍵能夠正常讓光標在Tab控制項和子頁面控制項間切換的方法: (1)使用CreateDialog函數創建子頁面時,第三個參數(父窗口)必須為main_dlg(tab控制項所在的窗口... |
巨大八爪鱼 |
7-10 巨大八爪鱼 |
|
766 |
9 |
|
巨大八爪鱼 |
5-13 巨大八爪鱼 |
|
214 |
5 |
想做個上位機燒錄工具 |
103.171.177.* |
4-24 巨大八爪鱼 |
|
588 |
8 |
|
巨大八爪鱼 |
4-3 圆环之理 |
|
640 |
2 |
#include <iomanip> #include <iostream> #include <Windows.h> #include <... |
巨大八爪鱼 |
10-16 180.84.26.* |
|
436 |
4 |
// 語言:C++ // 支持編譯為Unicode版本,不支持ANSI版本 #include <string> #include <tchar.h> #... |
巨大八爪鱼 |
1-8 巨大八爪鱼 |
|
435 |
5 |
【運行效果】  |
巨大八爪鱼 |
1-7 巨大八爪鱼 |
|
412 |
2 |
|
巨大八爪鱼 |
1-7 巨大八爪鱼 |
|
527 |
5 |
【程序功能】 1.創建一個.lnk快捷方式,並讀取 2.讀取開始菜單中Microsoft Office文件夾下的所有快捷方式的名稱及其描述。 |
巨大八爪鱼 |
1-7 巨大八爪鱼 |
|
433 |
1 |
IXMLDOMNode *pNode; //.......... IXMLDOMElement *pElem; 方法1(推薦): hr = pNode->Quer... |
巨大八爪鱼 |
1-6 巨大八爪鱼 |
|
455 |
2 |
// 創建位圖並繪製 Bitmap bitmap(200, 200); Graphics gbmp(&bitmap); SolidBrush brush(Color(0, 2... |
巨大八爪鱼 |
8-14 巨大八爪鱼 |
|
492 |
2 |
[Built-in BMP Codec] MimeType: image/bmp FormatDescription: BMP FilenameExtension: *.BM... |
巨大八爪鱼 |
8-14 巨大八爪鱼 |
|
884 |
11 |
#include <stdio.h> #include <Windows.h> int main(void) {... |
巨大八爪鱼 |
7-18 巨大八爪鱼 |
|
359 |
5 |
#include <iostream> #include <Windows.h> using namespace std; int main(void)... |
巨大八爪鱼 |
7-17 巨大八爪鱼 |
|
541 |
7 |
#include <iostream> #include <tchar.h> #include <Windows.h> using namespa... |
巨大八爪鱼 |
7-17 巨大八爪鱼 |
|
468 |
2 |
【main.c】 #include <tchar.h> #include <time.h> #include <Windows.h> #in... |
巨大八爪鱼 |
7-9 巨大八爪鱼 |
|
394 |
2 |
在Windows作業系統下,保存一個網頁成html格式,此時除了會產生html網頁文件外,還會相應地產生一個名稱幾乎相同的文件夾,它包含了網頁中的圖片、腳本等內容。如果只選中網頁文件,不選文件夾,將其...  |
巨大八爪鱼 |
7-8 巨大八爪鱼 |
|
534 |
5 |
【FLOODFILLBORDER模式】 // 設置線條顏色為紅色 SelectObject(hdc, GetStockObject(DC_PEN)); SetDCPenColor(h...  |
巨大八爪鱼 |
7-7 巨大八爪鱼 |
|
350 |
2 |
BLENDFUNCTION bdf; ZeroMemory(&bdf, sizeof(bdf)); bdf.SourceConstantAlpha = 150; // 指定...  |
巨大八爪鱼 |
7-7 巨大八爪鱼 |
|
825 |
12 |
【原程序】 void OnPaint(HDC hdc, LPPAINTSTRUCT lpps) { int i, j;... |
巨大八爪鱼 |
6-25 巨大八爪鱼 |
|
371 |
3 |
#include <stdarg.h> #include <strsafe.h> #include <Windows.h> int wprintf... |
巨大八爪鱼 |
6-25 巨大八爪鱼 |
|
386 |
3 |
|
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
407 |
3 |
#include <stdio.h> #include <Windows.h> LPBYTE AllocateBits(int nWidth, int nHeigh... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
471 |
8 |
#include <stdio.h> #include <Windows.h> #pragma warning(disable: 4996) // 關閉fopen,... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
417 |
4 |
#include <stdio.h> #include <Windows.h> int main(void) {... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
786 |
14 |
#include <stdio.h> #include <Windows.h> #pragma warning(disable: 4996) int main...   |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
368 |
0 |
#include <stdio.h> #include <Windows.h> int main(void) {... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
378 |
1 |
請看微軟官方的代碼: https://msdn.microsoft.com/en-us/library/dd183402(v=vs.85).aspx 代碼中只能搜索出一處SelectObj... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
351 |
2 |
#include <stdio.h> #include <Windows.h> #include "resource.h" int main(void)...  |
巨大八爪鱼 |
6-20 巨大八爪鱼 |
|
340 |
3 |
/* 光標移到開頭 */ SetFocus(hwndEdit); Edit_SetSel(hwndEdit, 0, 0); /* 取消選中, 光標將出現在選中文字末尾 */ S... |
巨大八爪鱼 |
6-16 巨大八爪鱼 |
|
391 |
3 |
|
巨大八爪鱼 |
6-15 巨大八爪鱼 |
|
628 |
12 |
原始碼下載地址:https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v6.9.2 解壓後,VS工程文件位於no...  |
巨大八爪鱼 |
6-15 巨大八爪鱼 |
|
298 |
0 |
About Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and... |
巨大八爪鱼 |
6-15 巨大八爪鱼 |
|
992 |
22 |
[1] hfontCaption = (HFONT)GetStockObject(DEFAULT_GUI_FONT); 運行結果: 文本框、單選框、複選框完全無法顯示。 按鈕和...  |
巨大八爪鱼 |
5-24 巨大八爪鱼 |
|
549 |
8 |
|
巨大八爪鱼 |
5-24 巨大八爪鱼 |
|
326 |
3 |
int CALLBACK FontExistsProc(const LOGFONT *lpelfe, const TEXTMETRIC *lpntme, DWORD FontType, LPARAM... |
巨大八爪鱼 |
5-24 巨大八爪鱼 |
|
286 |
1 |
這是因為在Windows.h頭文件中定義NULL宏時會進行語言判斷。 如果當前語言是C語言,就把NULL定義為(void *)0, 如果是C++的話就直接定義為0 |
巨大八爪鱼 |
5-23 巨大八爪鱼 |
|
357 |
4 |
|
巨大八爪鱼 |
5-4 巨大八爪鱼 |
|
872 |
15 |
ScrollWindow(hWnd, 水平滾動量, 垂直滾動量, NULL, NULL); UpdateWindow(hWnd); 當水平滾動量為負時向左滾動,為正時向右滾動。 垂直... |
巨大八爪鱼 |
4-27 巨大八爪鱼 |
|
617 |
9 |
【運行效果】  |
巨大八爪鱼 |
4-26 巨大八爪鱼 |
|
303 |
2 |
6595-b64-144-ccf-1df 分成五段記憶 其中最中間的是12的平方——144 第二個可以理解為bin-64位 第四個的第二、三個字母剛好是CF |
巨大八爪鱼 |
4-25 巨大八爪鱼 |
|
349 |
0 |
例如,下面的程序可以正常運行: #include <Windows.h> class MyClass : public WNDCLASSEX { protected... |
巨大八爪鱼 |
4-16 巨大八爪鱼 |
|
279 |
1 |
【程序1】 #include "stdafx.h" #include <Windows.h> #include <stdio.h> void wait(... |
巨大八爪鱼 |
3-26 巨大八爪鱼 |
|
245 |
0 |
#include "stdafx.h" #include <Windows.h> #include <stdio.h> int _tmain(int argc... |
巨大八爪鱼 |
3-26 巨大八爪鱼 |
|