Which Function is better.? [modified]
-
hi, all, I wanna know which function is better to use. Objectif: i have a FormView in which i use to add some data into a ComboBox before displaying the Form. So i hesitate beteween the OnInitUpdate , PreCreateWindow and WM_CreateWindow. So which one is the adequate one? Thx -- modified at 13:29 Thursday 29th November, 2007
"The Ultimate Limit Is Only Your Imagination.
-
hi, all, I wanna know which function is better to use. Objectif: i have a FormView in which i use to add some data into a ComboBox before displaying the Form. So i hesitate beteween the OnInitUpdate , PreCreateWindow and WM_CreateWindow. So which one is the adequate one? Thx -- modified at 13:29 Thursday 29th November, 2007
"The Ultimate Limit Is Only Your Imagination.
If you're going to add items to the ComboBox, you only choice of the three you mention is OnInitialUpdate. The ComboBox window doesn't exist during PreCreateWindow or during Create. Only after the call to CFormView::OnInitialUpdate does the ComboBox window actually exist (valid hWnd). Hope that helps.
Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
-
hi, all, I wanna know which function is better to use. Objectif: i have a FormView in which i use to add some data into a ComboBox before displaying the Form. So i hesitate beteween the OnInitUpdate , PreCreateWindow and WM_CreateWindow. So which one is the adequate one? Thx -- modified at 13:29 Thursday 29th November, 2007
"The Ultimate Limit Is Only Your Imagination.
:-Dprecreatewindow will be better
vijith vijayan