Click here to Skip to main content
15,922,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2146 in Visual C++ Pin
Jose Lamas Rios18-Jul-05 4:54
Jose Lamas Rios18-Jul-05 4:54 
GeneralRe: error C2146 in Visual C++ Pin
Anonymous18-Jul-05 7:10
Anonymous18-Jul-05 7:10 
GeneralRe: error C2146 in Visual C++ Pin
Jose Lamas Rios18-Jul-05 7:19
Jose Lamas Rios18-Jul-05 7:19 
GeneralRe: error C2146 in Visual C++ Pin
David Crow18-Jul-05 8:04
David Crow18-Jul-05 8:04 
Generaltransparent printing problem with hp plotter and gdi+ Pin
navajo_2k18-Jul-05 3:15
navajo_2k18-Jul-05 3:15 
GeneralRe: transparent printing problem with hp plotter and gdi+ Pin
Shog918-Jul-05 12:31
sitebuilderShog918-Jul-05 12:31 
GeneralRe: transparent printing problem with hp plotter and gdi+ Pin
navajo_2k19-Jul-05 0:05
navajo_2k19-Jul-05 0:05 
QuestionHow to Take Input from MS flex Grid Pin
Ritu Kwatra18-Jul-05 1:41
Ritu Kwatra18-Jul-05 1:41 
Hi all,
I am using MS flex grid to show my application data. There is a point when I need to Input from the user so that I can proceed the working. What I am doing is I have placed an edit box control at design time. Then I get pointer to it using GetDlgItem. and then I am calling SetWindowPos function to display it on a specific cell of the grid. But the edit box do not get displayed.
My code looks like:
CEdit *m_pEditValue = (CEdit*) GetDlgItem(IDC_EDIT_VALUE);
m_pEditValue->SetWindowText("Displayed");
m_pEditValue->SetWindowPos(&wndTop,m_flexgrid.GetCellLeft(),m_flexgrid.GetCellTop(),m_flexgrid.GetCellWidth(),m_flexgrid.GetCellHeight(),SWP_SHOWWINDOW);

The program does not give any error but It does not show the edit box. I think it is behind the grid and that means &wndTop is not making it a topmost window.

Any suggestion please ? Confused | :confused:
Thanx in advance.


Ritu Kwatra
GeneralFILE I/O updating Pin
Halawlaws18-Jul-05 1:27
Halawlaws18-Jul-05 1:27 
GeneralRe: FILE I/O updating Pin
David Crow18-Jul-05 2:43
David Crow18-Jul-05 2:43 
GeneralRe: FILE I/O updating Pin
Halawlaws18-Jul-05 3:05
Halawlaws18-Jul-05 3:05 
GeneralRe: FILE I/O updating Pin
David Crow18-Jul-05 3:11
David Crow18-Jul-05 3:11 
GeneralRe: FILE I/O updating Pin
Halawlaws18-Jul-05 4:46
Halawlaws18-Jul-05 4:46 
GeneralGet Application Path Pin
Abd.Eskandari18-Jul-05 1:20
Abd.Eskandari18-Jul-05 1:20 
GeneralRe: Get Application Path Pin
Trollslayer18-Jul-05 1:32
mentorTrollslayer18-Jul-05 1:32 
GeneralRe: Get Application Path Pin
Andrew Kirillov18-Jul-05 1:34
Andrew Kirillov18-Jul-05 1:34 
GeneralRe: Get Application Path Pin
T.T.H.18-Jul-05 23:47
T.T.H.18-Jul-05 23:47 
GeneralRe: Get Application Path Pin
ThatsAlok19-Jan-06 23:01
ThatsAlok19-Jan-06 23:01 
Questionwhat does "close wait" and "fin_wait2" means? Pin
awah18-Jul-05 1:14
awah18-Jul-05 1:14 
Generalspinner control makes dots in number within edit box Pin
T.T.H.18-Jul-05 0:48
T.T.H.18-Jul-05 0:48 
GeneralRe: spinner control makes dots in number within edit box Pin
Jose Lamas Rios18-Jul-05 2:44
Jose Lamas Rios18-Jul-05 2:44 
GeneralRe: spinner control makes dots in number within edit box Pin
David Crow18-Jul-05 2:45
David Crow18-Jul-05 2:45 
Generalthanks! Pin
T.T.H.18-Jul-05 23:44
T.T.H.18-Jul-05 23:44 
GeneralMFC, COM and RTC API Pin
TheVictorious18-Jul-05 0:14
TheVictorious18-Jul-05 0:14 
GeneralCImage filling Pin
Themis17-Jul-05 23:41
Themis17-Jul-05 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.