当前位置:首页
开发技术指南» 文章正文
    引言:

 ·dll 的问题    »显示摘要«
    摘要: visual c++支持三种dll, 它们分别是non-mfc dll(非mfc动态库)、 regular dll(常规dll)、 extension dll(扩展dll)。 这三种 编译出来的 dll 都可以 被 delphi vb 等调用么? 还是 只有 常规 dll 可以? ......
    摘要: showmodaldialog的窗口,返回一个参数到父窗口并刷新父窗口,父窗口跟据返回的参数来读取不同的值,如何实现?谢谢大家! ......


〔求助〕关于SendMessage

1)控制其他程序选择某项   Combox内容的时候,现在已经获得Combox控件的窗口句柄hIDCwnd,怎样用SendMessage实现呀?  
  2)怎样实现Tab页面的选择?  
   
 

NO.1   作者: palmax

The   SendDlgItemMessage   function   sends   a   message   to   the   specified   control   in   a   dialog   box.  
   
  Syntax  
   
  LRESULT   SendDlgItemMessage(HWND   hDlg,  
                                                        int   nIDDlgItem,  
                                                        UINT   Msg,  
                                                        WPARAM   wParam,  
                                                        LPARAM   lParam  
  );  
  Parameters  
   
  hDlg  
  [in]   Handle   to   the   dialog   box   that   contains   the   control.    
  nIDDlgItem  
  [in]   Specifies   the   identifier   of   the   control   that   receives   the   message.    
  Msg  
  [in]   Specifies   the   message   to   be   sent.    
  wParam  
  [in]   Specifies   additional   message-specific   information.    
  lParam  
  [in]   Specifies   additional   message-specific   information.    
  Return   Value  
   
  The   return   value   specifies   the   result   of   the   message   processing   and   depends   on   the   message   sent.    
   
   
 

NO.2   作者: krh2001

1)   SendMessage(hWnd,CB_SETCURSEL,isel,   0);  
   
  2)   SendMessage(hTab,TCM_SETCURSEL,isel,   0);  
 

NO.3   作者: DRACULAX05

你干脆自己定义一个消息发过去算了


 ·简单的动态树问题    »显示摘要«
    摘要: 刚刚querlang(编程浪子)给了我一个方案,但是用到了struts技术,我是新手,对struts还不懂的,只是了解简单的jsp,哪位高手能给我一个简单一点的方法啊 数据库结构 id char(2) menu_name varchar(30) parent_id char(1) 树只有2层,内容根据权限不同发生变化 ......
» 本期热门文章:

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