Re: Maximum window size, help needed
I think that will help you GetSystemMetrics() with SM_CXFULLSCREEN and SM_CYFULLSCREEN but I did not verify it. Sorry if I shall be not right. It is not what needed, but gives a clue: while reading GetSystemMetrics on MSDN, I was referred to GetMonitorInfo again, but I was told to use rcWork area. I re-test it under windows and voila: wine is buggy (rcWork == rcMonitor), but under windows rcWord rcMonitor. Or SystemParametersInfo() with SPI_GETWORKAREA will help you (http://msdn2.microsoft.com/en-us/library/ms724947.aspx) This almost exactly what I needed, but it does not take into account different monitors. Anyway, problem is half-solved. Thanks, Anatoly! -- Kirill
winex11.drv: Window must always recieve system messages.
Good day time. I had problems with window redrawing. This patch helps me. Please see the bug 9579. 0001-winex11-Invisible-windows-must-also-recieve-system.patch Description: Binary data
Re: Maximum window size, help needed
I think that will help you GetSystemMetrics() with SM_CXFULLSCREEN and SM_CYFULLSCREEN but I did not verify it. Sorry if I shall be not right. Or SystemParametersInfo() with SPI_GETWORKAREA will help you (http://msdn2.microsoft.com/en-us/library/ms724947.aspx) -- Best regards Anatoly Lyutin.
Re: .NET going open source(sort of)
On Thu, 2007-10-04 at 13:38 -0500, James Hawkins wrote: On 10/4/07, Brian Vincent [EMAIL PROTECTED] wrote: On 10/4/07, Stephan Rose [EMAIL PROTECTED] wrote: But just because code, that implements the same functionality looks similar?? Well of COURSE it looks similar...it is trying to do the same thing! I mean seriously, how does any of this stuff have legal ground? Is the US system seriously that screwed up? I shouldn't bother responding.. however.. Let's say you're a huge pharmaceutical company and you manage to develop an AIDS vaccine. At the end of the day you've probably spent billions and billions of dollars and all you really end up with is a chemical formula. That chemical formula then takes several more billions of dollars in order to be tested and certified for use. Should some other company be allowed to just come along and copy that chemical formula after the other company has invested so much time and energy? Most people generally agree that wouldn't be fair. Now, regarding software design, I think there needs to be strict limits on what qualifies as software patents, etc. I would think if Google wanted to show everyone their code it would unfair if someone came along and started their own search engine based on it. Fortunately I'm too dumb to have a solution so I don't have to worry about such things. In defense of Stephan, I'm pretty sure he was referring to the case where two companies independently arrive at the same solution to a problem. In the case of pharmaceutical companies, that means both companies each invested billions of dollars in strikingly similar or exact vaccines. Concerning MS and, say, Mono, the implementation of the .NET interface may be strikingly similar, enough to cause patent concerns, yet they hopefully arrived at the implementations independently. The biggest difference is timing. Who patented first, etc? I believe this is the problem with the US patent system referred to by Stephan. Yup that's pretty much what I meant. Stephan
Maximum window size, help needed
Hi, I want to improve wineconsole a little, max hor and vert console window dimensions. To achieve this, I need to know maximum available size of window on the desktop. The simpliest way I found is to use GetMonitorInfo, but it does not take into account desktop panels. As the result, maximized window fills entire desktop, overlapping with KDE panel. So the question: is there such function, smth like GetMaxWindowSizeWithoutDesktopPanels, which clips panels? Thanks in advance -- Kirill P.S. Application which uses this - Far Manager
Re: Maximum window size, help needed
Kirill K. Smirnov wrote: Hi, I want to improve wineconsole a little, max hor and vert console window dimensions. To achieve this, I need to know maximum available size of window on the desktop. The simpliest way I found is to use GetMonitorInfo, but it does not take into account desktop panels. As the result, maximized window fills entire desktop, overlapping with KDE panel. I think that will help you GetSystemMetrics() with SM_CXFULLSCREEN and SM_CYFULLSCREEN but I did not verify it. Sorry if I shall be not right. So the question: is there such function, smth like GetMaxWindowSizeWithoutDesktopPanels, which clips panels? Thanks in advance -- Kirill P.S. Application which uses this - Far Manager -- Best regards Anatoly Lyutin.
Re: Maximum window size, help needed
Kirill K. Smirnov wrote: It is not what needed, but gives a clue: while reading GetSystemMetrics on MSDN, I was referred to GetMonitorInfo again, but I was told to use rcWork area. I re-test it under windows and voila: wine is buggy (rcWork == rcMonitor), but under windows rcWord rcMonitor. :) It is good, that it has found one more bug. This almost exactly what I needed, but it does not take into account different monitors. Anyway, problem is half-solved. Thanks, Anatoly! I am glad, that could help you a little. -- Kirill -- Best regards Anatoly Lyutin.
Re: [PATCH] wininet: NULL-terminate url string passed to InternetCrackUrlW from InternetCrackUrlA
Hi Nigel, + lpwszUrl=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WCHAR)*(nLength+1)); + MultiByteToWideChar(CP_ACP,0,lpszUrl,dwUrlLength,lpwszUrl,(nLength+1)); + lpwszUrl[nLength] = 0; The last line is redundant: the HeapAlloc already zeroes the buffer. Though since MultiByteToWideChar is already overwriting the buffer, you might remove the HEAP_ZERO_MEMORY and leave this assignment. --Juan
d3d10 beginning - review
Hi, Here is my work, that is produced under Summer Of Code. I decided to send this to wine-devel, before I'm splitting to patches. It doesn't contain a few of debug functions, but on it. If something is wrong with this, please tell me. Best regards, Andras kovacs d3d10.tar.gz Description: application/tgz
Re: d3d10 beginning - review
Am Freitag, 5. Oktober 2007 17:55:08 schrieb Kovács András: Hi, Here is my work, that is produced under Summer Of Code. I decided to send this to wine-devel, before I'm splitting to patches. It doesn't contain a few of debug functions, but on it. If something is wrong with this, please tell me. I will take a look at it when I find time, I think it will have to wait until after wineconf for me to find time for a proper review signature.asc Description: This is a digitally signed message part.