Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.01.08;
Скачать: CL | DM;

Вниз

Handle   Найти похожие ветки 

 
Pantero ©   (2001-11-03 23:59) [0]

Как я могу связываться с (получить данные) от Edit"a. Подскажите какой handle нужен???


 
Mbo ©   (2001-11-04 01:15) [1]

Можно просто Astring:=Edit1.text;
если через API, то
var h:HWND;
h:=Edit1.Handle;
и дальше,что нужно


 
Evgeny ©   (2001-11-05 07:38) [2]

Можно так:

LONG SendDlgItemMessage(
HWND hDlg, // handle of dialog box
int nIDDlgItem, // identifier of control
UINT Msg, // message to send
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
);

или так:

LRESULT SendMessage(
HWND hWnd, // handle of destination window
UINT Msg, // message to send
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
);

в качестве Msg указать WM_GETTEXT
а можно и так:

int GetWindowText(
HWND hWnd, // handle of window or control with text
LPTSTR lpString, // address of buffer for text
int nMaxCount // maximum number of characters to copy
);

в общем выбырай, что больше подходит.



Страницы: 1 вся ветка

Текущий архив: 2002.01.08;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.011 c
3-21928
kaif
2001-12-04 17:42
2002.01.08
arithmetic overflow or string truncation при Restore


1-22059
Leo^Sun
2001-12-19 07:24
2002.01.08
Кто работал на


3-21945
asafr
2001-12-04 18:11
2002.01.08
FastReport. frBand.Visible


14-22413
РУС
2001-11-11 21:27
2002.01.08
CD-RW


1-22175
v-o-y-a-g-e-r
2001-12-20 16:06
2002.01.08
о Hint е