当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Local time In the followin
 

 

    摘要:摘 要:本文提供了四种启动画面制作方法。   使用启动画面一是可以减少等待程序加载过程中的枯燥感(尤其是一些大型程序);二是可以用来显示软件名称和版权等提示信息。怎样使用vc++制作应用程序的启动画面呢?本文提供四种方法,前三种适用于基于文档的应用程序,第四种适用于基于对话框的应用程序。 1.利用组件库中的splash screen组件实现  (1)用photoshop等制作启动画面图像,保存为b......
    摘要:  在vc环境下,mfc console程序默认行为是单线程工作环境。我们在“工程->设置->c\c++”下的code generation选项中,将use run-time library设为multithreaded(多线程)。也可以在当前当前的project options 中加入“/mt”。(表示使用多线程版本的c runtime函数库) #include #include ......


How to implement universal time, local time and home time
local time in the following example code fragment, the universal time offset is added to the universal time, giving the local time. the universal time offset is determined by the locales time zone. the offset is in seconds from universal time; this is positive for time zones east of universal time, and negative for time zones west of universal time. ttime time; tlocale locale;     // get universal time time.universaltime();     // get universal time offset ttimeintervalseconds universaltimeoffset(locale.universaltimeoffset());     // add locales universal time offset to universal time     // to get the local time time+=universaltimeoffset;   -------------------------------------------------
...   下一页
 ·使用visual c++实现ole剪贴板    »显示摘要«
    摘要: 使用visual c++实现ole剪贴板 南京市随园8-2号702室 王珂---- 一、概述 ---- 在windows操作系统中存在两种剪贴板机制:windows标准剪贴板和ole剪贴板机制。 ---- 标准的windows剪贴板是一个被所有windows应用程序共享的系统服务,因此它并没有自己的句柄或类。但你可以通过cwnd类的成员函数来管理剪贴板。 ---- 自从ole(object li......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE