yeah,Thanks
Pazzuzu
Posts
-
SendMessage -
SendMessageOkay,Thanks Ganesh...
-
SendMessageOkay,So u meant to say that I habe to catch it in the "OnKeyDown" messageHandler...
-
SendMessageHi Guys, I want to send a "SendMessage" from within my windowControl as follows,by passing a return key. MyControl.SendMessage(WM_KEYDOWN,13); What macro do I have to include in my messagemap & which meesagehandler should I include to take care of my message.. Thanks
-
window seen in taskbarThanks Nibu & Farpointer.It worked... Thanks one again
-
window seen in taskbarHave seen that my call to treeControl.ShowWindow(true); pops up this window.But if I comment out this statement,the control is not popping up on double clicking
-
window seen in taskbarIam not modifying any style now.Iam keeping it as it is . treeControl.SetParent(GetDesktopWindow()); Still window is visible.
-
window seen in taskbarOkay,that was a mistake. Tried as follows. treeControl.ModifyStyle(WS_BORDER,WS_POPUP); but the window is still there in the taskbar.Guess some of the styles are not added to the Control,though I use a modify style. What could be done...
-
window seen in taskbarHi All, Iam working with a ListControl whose parent is a dialog.want to place a tree control on a particular cell on the listcontrol,which on doubleclicking should open up(ie: the width & height of this tree control exceeds the dialog boundary). Like in ComboBox control, where the list visible, goes beyond the dialog boundary. Tried somethings like treeControl.SetOwner(GetDesktopWindow(); treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED); Everything works fine apart from 1 problem.I can see the newly created window(the treecontrol) on my taskbar. wHAT should I do to avoid that... Regards, P
-
Overlapping control -problemHiBlake, I fixed the problem.. I had to Modify the style after setting the parent m_gridControl.SetParent(GetDesktopWindow()); m_gridControl.ModifyStyle(WS_CHILD,WS_POPUP); Thanks
-
Overlapping control -problemHi, Iam working with a ListControl whose parent is a dialog. In one the cell of the listcontrol,I place a tree control which on doubleclicking should open up & overlap the dialog control. I achieved the treecontroloverlapping by writing as follows: treeControl.SetParent(GetDesktopWindow()); treeControl.ShowWindow(true); treeControl.BringWindowToTop(); treeControl.SetFocus(); treeControl.MoveWindow(500,300,400,200); Now,the problem I have in hand is that the overlapped treecontrol is not active.Can't do anything over there. Tried "EnableWindow","SetActiveWindow" etc.but the overlapped treecontrol is not getting enabled. Any help is appreciated... Thanks...
-
When ControlSize exceeds parent sizeHi, I did as follows in that order & I get the child control to exceed the parent window. childControl.SetParent(GetDesktopWindow()); childControl.ShowWindow(true); childControl.BringWindowToTop(); childControl.SetFocus(); childControl.MoveWindow(500,300,400,200); But now the problem is ,I don't get the childControl as an activeWindow(Can't select,edit anything etc). Thanks..
-
When ControlSize exceeds parent size>>The dropdown listbox from a combobox is >>actually created as a top level window, >>a child of the desktop, and it is moved >>into place and shown when needed. How could I do this?.would you be able to explain it by a piece of code...
-
When ControlSize exceeds parent sizeHi all, Iam working with a ListControl whose parent is a dialog. In the cell (1,1),I want to place a tree control which on doubleclicking should open up(ie: the width & height of this tree control exceeds the dialog boundary). Will move the treecontrol & place it over the cell(1,1) position. Now If I fix & width & I height of my treecontrol,I want the same size to be displayed,even if the parent dialog is smaller. ie: If the childControl size is bigger than,the parentcontrol size ,it should overflow the parentcontrol boundary.(like if we click on a comboBox). How can I achive this behaviour. Any ideas Thanks..
-
Font , DPI settingsHi all, It is more of a windows question than Visualc++ related. My questions are regarding the windows display settings. [1]How Can I set "large","small" fonts settings under windows.Iam using WinXp & If I go to ControlPanel->Display,(Darstellung Tab,Iam using a German wINxP),I see the font->Normal,Large & Extra Large. Is this the place for setting large & small Fonts.If yes,I see it only as Normal,Large & extraLarge under my system. [2] If I go to Settings->advanced Tab,I see the DPI setting combobox containing,96 dpi,120 & userdefined value. What is this setting for & How is it related to the screen resolution.... Hope someone could clear up my mind.. Thanks...
-
controlling Dialog size on runtimeThanks all...
-
controlling Dialog size on runtimeHi all, Is it Possible to stop the resizing of a Dialog,from inside the "OnSize" event. Depening on the cx,CY values,I would like the dialog to be resized or not. If this is not the right place to the control the dialog size,where should I do it & how? >>OnSize(UINT nType, int cx, int cy) Thanks
-
Bitmap Pixel scalingHi, Iam writing some piece of texts into a moncochrome bitmap & then then copying it to the destination Dc by using a "BitBlt" function. Now when I perform some zooming,in the text,write to the bitmap & then read it back to the destination Dc,the Pixels are not scaled with good quality. Is there any Win32 ApI functions available,so that I can do some resampling of the image(text) stored in the bitmap , before writing it back.(Don't want to resize the bitmap size,know that there is a "StretchBlt function for that",but want to scale Pixels). Will it work if I increase the bitmap resolution,there by increasing the pixels & there by quality. If so how can I change a bitmap resolution Thanks...
-
vector problemYes,I did Overrided my copy Constructor,co's wanted deep copying.Now Iam storing in my Vector- Pointers & not objects anymore....
-
vector problemHi all, When Iam making a "push_back" into the vector,Its pushing back a new object into my vector(co's it goes to the constructor of the object) although ,Iam passing a refererence of the object into the "push_back". Does "Push_Back" make a copy of the object passed to it.How can I avoid it.... Thanks...