Location:
Search - drawtime
Search list
Description: 电子表控件,根据字库生成原理制作成0-9的电子表字库(二维数组).其中经典代码为读字模部分和透明显示部分.读者需要自己调用void _DrawTime(HDC hdc,int X,int Y,unsigned long color)
说明:参数color为字体颜色.
测试一下,是不是时间变漂亮了
Platform: |
Size: 10767 |
Author: YJJ |
Hits:
Description: 电子表控件,根据字库生成原理制作成0-9的电子表字库(二维数组).其中经典代码为读字模部分和透明显示部分.读者需要自己调用void _DrawTime(HDC hdc,int X,int Y,unsigned long color)
说明:参数color为字体颜色.
测试一下,是不是时间变漂亮了-Electronic form control, in accordance with the principle of font generation into electronic form font 0-9 (two-dimensional array). In which the classical part of the code for reading and transparent matrix display. Readers need to call void _DrawTime (HDC hdc, int X, int Y, unsigned long color) Description: color for the font color parameters. test is not the time to become beautiful
Platform: |
Size: 10240 |
Author: YJJ |
Hits:
Description: This sample displays the current time. I use SetTimer function to achieve this program.
Platform: |
Size: 4096 |
Author: kekekeke |
Hits:
Description: 小游戏。因为是初学者,所做的东西还不能算是厉害的,只能说正在努力的过程-#include<windows.h>
#include"resource.h"
#include<stdio.h>
LRESULT CALLBACK WndProc(HWND hwnd,UINT uMSG, WPARAM wParam,LPARAM lParam)
void DrawBitmap(HDC hdc,UINT ID, int x,int y,HWND hwnd)
void GameStart(HWND hwnd)
void GameOver(HWND hwnd)
void DrawTime(HDC hdc, int x, int y, int n, HWND hwnd)
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd)
{
WNDCLASS wndclass
wndclass.cbClsExtra =0
wndclass.cbWndExtra =0
wndclass.hbrBackground =CreateSolidBrush(RGB(255,255,255))
wndclass.hCursor =LoadCursor(hInstance,MAKEINTRESOURCE(IDC_CURSOR2))
wndclass.hIcon =LoadIcon(hInstance,MAKEINTRESOURCE(IDI_ICON2))
wndclass.hInstance =hInstance
wndclass.lpfnWndProc =WndProc
wndclass.lpszClassName ="plane"
wndclass.lpszMenuName = NULL
wndclass.style = CS_VREDRAW||CS_HREDRAW
RegisterClass(&wndclass)
HWND hwnd
hwnd = CreateWindow("plane","game",WS_OVERLAPPEDWINDOW,0,0,800,600,NULL,NULL,hIns
Platform: |
Size: 702464 |
Author: xujialuo |
Hits:
Description: This sample displays the current time. I use SetTimer function to achieve this program.
Platform: |
Size: 4096 |
Author: jq29lac |
Hits:
Description: This sample displays the current time. I use SetTimer function to achieve this program.
Platform: |
Size: 4096 |
Author: o0renhu |
Hits: