Главная страница
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.018 c
1-22147
vinni2000
2001-12-20 12:59
2002.01.08
Нужен совет по RichEdit!!!!!!!!


14-22334
Alex_A
2001-11-03 12:14
2002.01.08
ГРАФИКА!!!!!!!!! ВАЖНО!!!!!!!!!!!!!!!!! ПОМОГИТЕ!!!!!!!!!!!!!!!!


3-21921
MVova
2001-12-04 10:41
2002.01.08
Связь многие ко многим ;)


3-21926
Oleon
2001-12-04 15:14
2002.01.08
Создание таблицы из Delphi.


3-21986
Dreamer
2001-12-06 15:43
2002.01.08
Data Field not permitted on open DataSet