Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

fill component into custom dialogbox


1 reply to this topic

gcb

gcb
  • Members
  • 19 posts

Posted 22 September 2005 - 16:04

Hello,

I have created a custom dialogbox but what the solution for fill data (STRING) into a component.


I found sample with "IP Address Custom Dialog" but the code work only with NUMBER.

My code is :


SendMessage(
_WinSubGetChildWindow(hwndDlg, IDC_PROJECTNAME),
IPM_SETPROJECT,
0,
dwProject);

dwproject is STRING definition.

#define IDC_PROJECTNAME 1302 // value in "Control Identifier" in Object inspector for selected object.

#define WM_USER 0x0400
#define IPM_SETADDRESS (WM_USER+101)
#define IPM_GETADDRESS (WM_USER+102)
// for Project
#define IPM_SETPROJECT (WM_USER+103)
#define IPM_GETPROJECT (WM_USER+104)

And i have the error :

ServerParam.rul(63) : error C8038: 'dwProject' : numeric value required

Thank you for your help.


gcb

gcb
  • Members
  • 19 posts

Posted 23 September 2005 - 08:09

I found the solution (the night is wholesome !)


this is just in "CtrlSetText" and "CtrlGetText".


Thank you