代码搜索结果
找到约 10,000 项符合
Screen 的代码
9765.html
哈!一行搞定!
哈!一行搞定!
3307.html
Re: open form at the centre of screen
3402.html
在 Form_Load 中加上一行程式
在 Form_Load 中加上一行程式
textinfo.c
#include
void main(void)
{
struct text_info text;
gettextinfo(&text);
cprintf("Screen coordinates %d,%d to %d,%d\r\n",
text.wintop, text.winleft, text.winbottom, t
textinfo.c
#include
void main(void)
{
struct text_info text;
gettextinfo(&text);
cprintf("Screen coordinates %d,%d to %d,%d\r\n",
text.wintop, text.winleft, text.winbottom, t
delphi编程中获取屏幕分辨率.txt
Delphi编程中获取屏幕分辨率
当我们需要获取所运行程序时计算机的分辨率时,有两种方法:①可以通过访问Delphi提供的<mark>SCREEN</mark>全局变量,即<mark>SCREEN</mark>.WIDTH和<mark>SCREEN</mark>.HEIGHT以像素点给出屏幕的分辨率。②利用Windows的API函数GetDeviceCaps()来得到所用显示器的分辨率,源代码如下:
Application.Initialize;
...
ccc_x11.cpp
/*
COPYRIGHT (C) 1994 - 2002 Cay S. Horstmann. All Rights Reserved.
NOTE TO STUDENTS: Do not attempt to study the contents of this file. You
can, and should, use the services provided in this f
makefile
# executable files for this directory
OBJECTS = screen3.exe
# tells make to use the file "..\MS_makefile_template", which
# defines general rules for making .obj and .exe files
include ..\MS_mak
textinfo.c
#include
void main(void)
{
struct text_info text;
gettextinfo(&text);
cprintf("Screen coordinates %d,%d to %d,%d\r\n",
text.wintop, text.winleft, text.winbottom, t
textinfo.c
#include
void main(void)
{
struct text_info text;
gettextinfo(&text);
cprintf("Screen coordinates %d,%d to %d,%d\r\n",
text.wintop, text.winleft, text.winbottom, t