- 博客(18)
- 资源 (1)
- 收藏
- 关注
原创 VS2008快捷键的设置
选择 “工具栏”菜单的 “自定义” 选项,在弹出的对话框左下角,有一个 “键盘” 按钮,点击即可进入设置快捷键的界面。 今天遇到一个问题,BackSpace失效了,无法删除光标前的字符。原因不说了,解决办法是找到 “编辑.向后删除” 命令,将其快捷键重新设置回BackSpace,作用范围是“文本编辑器”
2009-10-31 17:22:00 4995 1
转载 [转]悟透JavaScript
from:http://www.cnblogs.com/leadzen/archive/2008/02/25/1073404.html 引子 编程世界里只存在两种基本元素,一个是数据,一个是代码。编程世界就是在数据和代码千丝万缕的纠缠中呈现出无限的生机和活力。 数据天生就是文静的,总想保持自己固有的本色;而代码却天生活泼,总想改变这个世界。
2009-10-27 22:18:00 537
转载 如何在js文件中包含其它的js文件
from:http://topic.csdn.net/t/20020628/13/836053.html 1.(onload前) document.write(""); 或者写个函数 function js_include(fileName){ //加载一个Js文件 document.write(
2009-10-25 23:31:00 1182
转载 一篇关于javascript面向对象开发的论文
from:http://mckoss.com/jscript/object.htm Object Oriented Programming in JavaScriptby Mike KossJanuary 14, 2006google_hints = "javascript, ajax, programming, object orient
2009-10-25 22:28:00 4145
原创 js中的面向对象
from:http://phrogz.net/js/Classes/OOPinJS.htmlhttp://phrogz.net/js/Classes/OOPinJS2.html OOP in JS, Part 1 : Public/Private Variables and MethodsThis page shows how to create private varia
2009-10-25 22:08:00 667
转载 在网页中语法高亮显示代码的例子
from: http://phrogz.net/js/Classes/docs.csshttp://phrogz.net/js/Classes/syntaxcolor.js ============================= css ==========================================body { margin:0 }h1,h2,
2009-10-25 22:02:00 1030
转载 gtk托盘图标程序
http://www.codeproject.com/KB/cross-platform/GTKTrayIcon.aspx //trayicon.c#include gtk/gtk.h>static void trayView(GtkMenuItem *item, gpointer user_data);static void
2009-10-25 00:57:00 1937
原创 linux下图形界面开发的“RC”文件
windows下使用VC开发图形节目程序时,使用RC文件来描述程序的初始静态界面。在linux下使用GTK或QT开发图形界面程序时,也有对应的东西。gtk可以使用glade文件代替rc文件来描述,使用glade文件时,需要用到libglade。支持glade的ide有Anjutaqt可以使用.ui文件来描述界面 本质上glade文件和ui文件都是xml文件
2009-10-24 23:55:00 722
转载 Gtk设置窗体的背景图片
http://www.cnblogs.com/coolattt/articles/751756.html #include int main(int argc,char *argv[]){ GtkWidget *win; GtkWidget *image; GtkWidget *frame; gtk_init(&argc,&argv); win=gtk_window
2009-10-24 01:16:00 2622
原创 gtk窗口操作
最大化/去最大化gtk_window_maximizegtk_window_unmaximize 最小化/去最小化gtk_window_iconifygtk_window_uniconify 设置/取消全屏gtk_window_fullscreengtk_window_unfullscreen 获取/设置透明gtk_window_get_opac
2009-10-24 00:08:00 3464 2
原创 这样提供程序的版本信息
struct VersionInfo{ int version_no; char* build_date;}; const g_MainVer = 1;const g_SubVer = 0;const VersionInfo g_VersionInfo ={ g_MainVer __DATE__ " " __TIME__
2009-10-23 22:10:00 520
原创 不经过服务器,直接传递js变量
//main.html //left.html left frame show previous gv change gv next page //next.html next frame show current gv in next.html
2009-10-16 16:13:00 552
转载 获取cpu占用率
from http://topic.csdn.net/t/20060330/19/4652332.html // cpusagent.cpp (Windows NT/2000) // // Getting the CPU usage in percent on Windows NT/2000 // // (
2009-10-14 11:08:00 745
转载 获取cpu频率
from http://www.codeproject.com/KB/system/Processor_Speed.aspxIntroductionIll show you two ways to retrieve the processor-speed (frequency in MHz). With two simple functions, one to retrieve
2009-10-14 11:04:00 974
转载 Cool Code list
from http://www.sjbaker.org/wiki/index.php?title=Cool_Code_listCool Code listFrom WikiidJump to: navigation, searchHereis my collection of cute C and C++ tricks - I have tried to
2009-10-13 21:14:00 505
原创 boost tribool example
/* * ===================================================================================== * * Filename: tribool.cpp * * Description: test boost tribool * * Version: 1
2009-10-01 19:55:00 1735
供VC6使用的sqlite的SDK
2008-12-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人