CIPAddressCtrl cannot create vc+= mfc
-
HI all, i am struggling to create CIPAddressCtrl . i cannot use drag and driop as i am not using Cdialog, i have craeted a window using CFrameWindow. have any one done this successfully. here i could just see a edit control kind of thing when i create CIPAddressCtrl IpAddr; IpAddr.Create(.....); dont know whats wrong. any help will be gret for me.. Thanks
-
HI all, i am struggling to create CIPAddressCtrl . i cannot use drag and driop as i am not using Cdialog, i have craeted a window using CFrameWindow. have any one done this successfully. here i could just see a edit control kind of thing when i create CIPAddressCtrl IpAddr; IpAddr.Create(.....); dont know whats wrong. any help will be gret for me.. Thanks
Try this. 1)Please check the return value from IpAddr.Create(.....); function. 2)Make sure that CIPAddressCtrl IpAdd is not a local variable to a function. This will destroy object after function call. HTH Abhi