Hi, I have Windows 2000 Professional SP2 installed and I have built an OpenGL base MFC MDI application which works fine under WINNT 4.0. The problem I have with Windows 2000 is that, when I create more than one window, I get a black border on the window edges, which increases with every new window. This problem does not appear with nVidia GEForce MX 200. I suppose this is so because, nVidia provides its own ICD, wherease others use the generic implementation. Is there any way out of this problem??:confused: Thanks in advance,
v_krishnan
Posts
-
OpenGL in MDI Apps under Windows 2000 -
Modifying Environment VariablesHow can I modify an environment variable such that the changes are made to the registry, so that they are propagated to others when system restarts or some new application starts? The SetEnvironmentVariable API updates the environment for the current process only. Thanks, Krishnan
-
Beginner Dialog::OnOK() QuestionThere are two ways to do this - 1. You can do this by overriding the OnOK function in your dialog class and do NOT call the base class OnOK in that function. 2. In the dialog editor remove the default button property of the OK button. Hope this helps Krishnan
-
Making a CRichEditView ReadonlyHi, How can I make the edit control of a CRichEditView read-only? Setting ES_READONLY flag does the job but messes up at other places. Thanks, Krishnan
-
Getting the font file nameMike Nordell wrote: GetTextMetrics often gives you all you need to know about a font. Why would you want to know a fonts filename? I have requirement to get the list of all fonts I am using in my application so that I can bundle them with my software.
-
Resizing of Animation controlHi, Is there any way to resize the animation control in such a way that the animation is not clipped but resized? Thanks Krishnan
-
Getting the font file nameHi, Is there any way to get the name of the font file for a given font along with its attributes like bold, italic, etc.? Thanks, Krishnan
-
Network problems in Win2000Hi, I have installed Windows 2000 Professional on my machine and now I am facing a very strange problem. I am not able to run my applications that use windows sockets to connect/listen to connections from other machines. I am able to make atmost 2-3 connections only at a single time. I am also unable to browse the network from windows explorer when some connections are already made. The error that I receive is 'Insufficent quota of resources exist'. Can anyone tell me what the problem is and how to solve it? Thanks, Krishnan
-
Guideline/Ruler ControlHi, I am developing an application wherein I need rulers/guidlines just like the one in VC++ dialog editor. Can anyone please provide me some help as to how I should proceed for developing it? Thanks, Krishnan
-
Handling system color change in OpenGL apps.Hi, I have developed an MDI OpenGL App using MFC. It creates a scene and displays it after reading it from a file that stores the colors, etc. of each object in the scene. Now how do I handle change in color depth in runtime, because in my code I use glColor3f(R,G,B) to specify colors while drawing. So will this code work properly in 256 colors also. How will I handle changes to the palette etc.? Thanks, Krishnan
-
Batch updates to a databaseHi, I am using the MS RDO control to show values from a database into a grid. Now when the user can edit the data in grid I do NOT want the changes to be applied immediately. I want them to be applied into the database only when the user asks. The problem I have is that the ODBC driver that I am using does not support batch updates. Can anyone please tell me some other method through which I can achieve this?
-
Freezing a list controlHi, I tried your solution. But, it does not work when the items are being added in the beginning.
-
Freezing a list controlHi, I have an application which contains a listcontrol in report view. When the user is viewing the data in the list, more data can get inserted into the list in the background. This would cause the list control to scroll. This is nuisance from the user's point of view, because he cannot see what he wants as the list gets scrolled frequently. Now, I want to provide an option through which the user can freeze the view that he is looking at. The list control should then just update the scrollbars (indicating that more data is being added) only. Can someone please help me in acheiving this? Krishnan
-
Process MonitoringHi, I have built an application that launches many other processes and then monitors the state of those processes periodically. To monitor the status, I use the Process Id that I get when I call CreateProcess to create a process. But, I am having a problem with the current implementation - I have observed that the same process ID can be allocated to a process, if the previous one with is dead. This happens within a short time. Therefore, if I note the ID of a process and then monitor it after say, 1 minute I may be monitoring a some new process if the one that I started was killed. Is there any unique way to identify the process?
-
NT Task ManagerHi, Can anyone please explain to me the details of the various columns show in the WIndowsm NT task manager? Thanks in advance.
-
Drag-drop from a listctrlHi, I want to implement a list control that allows dragging of an item from it and dropping it onto some other window (which may belong to a different app). The text of the item being dragged should get copied into the dropped window if allows drag-drop. Can someone provide some hints in doing this? Thanks in advance
-
Printing a windowHi, Is there any way to print a window and its contents onto the printer just like it looks on the screen without capturing its bitmap? What does WM_PRINT do? Krishnan
-
Printing a windowHi, Is there any way to print a window and its contents onto the printer just like it looks on the screen without capturing its bitmap? What does WM_PRINT do? Krishnan
-
Printing a windowHi, Is there any way to print a window and its contents onto the printer just like it looks on the screen without capturing its bitmap? What does WM_PRINT do? Krishnan
-
Printing a windowHi, Is there any way to print a window and its contents onto the printer just like it looks on the screen without capturing its bitmap? What does WM_PRINT do? Krishnan