I tried Mozilla a couple of months ago and now I use Mozilla religiously. It may only be my opinion, but I think it is better than IE. Some cool features: tabbed windows, the ability to disable pop-up windows, themes and it opens up faster then IE on my Windows 2000 computer. Mozilla is completely standards compliant, and most web sites look better with Mozilla (comparing to IE 6 which is partly because IE has some weird layout issues). The nightly builds are stable enough to use (that's what I'm using right now) that's what I would recommend grabbing. -Mark Lenz
Mark Lenz
Posts
-
IE rules: used by 95.3% Internet users -
Mandatory military serviceI'll train my volunteers for 3 years, you get 6 months! My guys will wanna survive to come home to mamma more than yours. My guys wanted to join they have the mentality to survive. Most of my guys did it so when they get home, they can go to college. Your guys don't have anything going for them, except I guess their mamma. -Mark Lenz
-
Mandatory military serviceA draft during times of war is much different than asking ever person between the ages of 18 and 22 to join the armed forces just because of their age. Also, no one seems to notice but the crime rate in general and youths has been dropping in the last couple decades. -Mark Lenz
-
Mandatory military serviceI can't agree with you more! I don't think this would ever get into law. You asked what happens if some boys and girls don't want to play ball. What happens if some parents don't want their kids to "play ball"? I'm also 21 right now and I say f**k that! if they want to take me out of my, now somewhat, established life because the government thinks it's got a problem. -Mark Lenz
-
What did Billy for programming??I read a quote once that said "If you have to use cliched phrases from another language to get your point across you have no clue what your point actually is about." Or something like that, kapiche? Isn't "kapiche" a cliched word from another language?:cool: -Mark Lenz
-
What I really wanted in vc.netThank you very much. That fixed it. I had a buch of DeleteObject()'s without deselecting the object first. -Mark Lenz
-
What I really wanted in vc.netCould it be that I do something like this: void ControlClass::OnPaint() { CPaintDC dc(this); int saveDC = dc.SaveDC(); Brush brushFill; brushFill.CreateSolidBrush(...); dc.SelectObject(brushFill); /*...Use brushFill...*/ brushFill.DeleteObject(); brushFill.CreateSolidBrush(...); dc.SelectObject(brushFill); /*...Use brushFill again...*/ dc.RestoreDC(saveDC); } -Mark Lenz
-
What I really wanted in vc.netI changed my code so that it saves the DC at the beginning and end of the OnPaint() method and the beginning and end of every function called inside OnPaint() that takes a pointer to the DC. I'm still seeing the same thing. Is there another kind of resource leak that could cause this, or does saving and restoring the DC not work quite right? Thanks for all of your help. This problem has become quite frustrating. Mark Lenz
-
Double Buffering vs. Private DC'sI see the problem in Windows 98, but I can't duplicate it in Windows 2000. Mark Lenz
-
What I really wanted in vc.netAnother thing I noticed. It happens in Windows 98, but not in Windows 2000. Mark Lenz
-
What I really wanted in vc.netI have been using SaveDC() before I create any new GDI objects and then RestoreDC() when I'm done with them. Example: void DumbControl::OnPaint() { CPaintDC dc(this); int saveDC = dc.SaveDC(); CBrush brush; /*....using GDI object....*/ dc.RestoreDC(saveDC); } I make function calls within the OnPaint() method who take a pointer to the DC and then use GDI objects created within their scope, but those functions don't make a call to SaveDC(). Do I need to call SaveDC() in those functions as well, or am I missing something else? Thanks. Mark Lenz
-
What I really wanted in vc.netThanks, I had never heard of them before. I'm having a problem where it looks like I'm running out of device contexts. I have a control which looks kinda like a fuel guage. The value that the needle represents is updated about every second, so the needle must be redrawn about every second. I have about 4 or 5 of these controls in my view. When I have been displaying the view for about 3 minutes, things start to get weird. All of my fonts revert to a standard font and it starts to draw white where there was supposed to another color. This starts to affect the title bar, making it white. Sometimes it even starts to affect other applications. Would using a private DC solve this, even running on Windows 98? Or is there something else I'm missing? Thanks. Mark Lenz
-
Double Buffering vs. Private DC'sYou're right, I am on Windows 98. I have been using SaveDC() and RestoreDC(). I also declare all of my GDI objects that I will need in my OnPaint method at the beginning, so that they are all on the same scope. So, everytime the OnPaint() method is called I SaveDC() and create new GDI objects, use them, and when I'm done call RestoreDC() and the objects should be deleted when they go out of scope. Am I doing this wrong? Thanks. Mark Lenz
-
Double Buffering vs. Private DC'sI'm having a problem where it looks like I'm running out of device contexts. I have a control which looks kinda like a fuel guage. The value that the needle represents is updated about every second, so the needle must be redrawn about every second. I have about 4 or 5 of these controls in my view. When I have been displaying the view for about 3 minutes, things start to get weird. All of my fonts revert to a standard font and it starts to draw white where there was supposed to another color. This starts to affect the title bar, making it white. Sometimes it even starts to affect other applications. Does anyone know what's happening and maybe what I could do to stop this? I have looked everywhere, Google, MSDN, MSJ and mailing list archives, but I don't really know what's going on so I don't really know what to look for. Thanks. Mark Lenz
-
Double Buffering vs. Private DC'sTo accomplish smooth, fast graphics that don't flicker which is better, double buffering or private DC's? Mark Lenz
-
What I really wanted in vc.net"Use private DCs. They're not a resource bottleneck anymore, and you don't have to bother with all the saving and restoring." What do you mean when you say "private DCs"? Declared in the class as private or something WAY different? Mark Lenz
-
Updating Different Areas of a ControlI have a control which displays information in 3 different places on itself. When one piece of information changes, I have to repaint the whole control. Sometimes, only one piece of information changes many times very quickly, so I end up re-drawing the whole control for everytime. Is there a way to mark a region or part of a control that needs to be re-drawn, not the whole thing? -Mark Lenz
-
How to use same handle in seperate threadI have a serial port class which continously polls the serial port and writes to the serial port as needed. I have a seperate thread for reading from the serial port. My problem is that I created the handle for the serial port in the main thread to be used when writing to the serial port, but I need to use that same handle in the other thread so that I can read from the serial port. I passed the handle to the worker thread, but I can't use it because it's not part of the thread's handle map. How can I get a handle to the serial port in the worker thread? Mark Lenz
-
Modeless Dialog Inside a FrameNo, I don't mean a dialog inside a dialog. I want to be able to have a dialog (or window) which stays within the boundaries of it's parent (the main frame window) but doesn't prevent the user from access controls on the parent. Imagine an MDI application with it's child frames inside of it. They can't leave the boundary of the parent frame, but you can access controls on the main frame and the other child windows. You can resize the child windows and move them around. Can I create a dialog that has the same behavior? -Mark Lenz
-
Modeless Dialog Inside a FrameIs there a way that I can create a modeless dialog that stays inside of it's parent frame? I'm trying to create a dialog which keeps the parent active (not modal) and stays within a parent frame (like an MDI child). -Mark Lenz