I want to filter all records with criteria "later than 8:00 am" by settings RowFilter value of DataView object. How to do that? But I want to note, that I need to compare only the time part of...
I've create my own control - PageControl (derived from UserControl), which acts like TabControl but has no tabs. It's a collection of my class PageControlItem, which is derived from Panel and...
I created a PageControl class which acts like TabControl, but has no tabs.
This class has SelectedPage property that allows selecting active page by passing its value.
The problem is that when...
Hi to all!
I added to DataGrid FullRowSelect behavior (in a new derived class DataGridEx).
Now I want keys LEFT and RIGHT to be handled as UP and DOWN keys respectively, that is when I press LEFT...
I don't want to rearrange the order of elements each time I change the design of my form. Because if the order that code designer places the elements is not suitable, and I place them in the order I...
I am creating my own component, which is like TabControl.
I created my own collecation class (PageCollection) and added the property of this type to component class.
I also added additional...
Hi all.
I created a structure in C#, DEVMODE, which is placed in winuser.h in C++.
Then I imported a function: ChangeDisplaySettings in the following way
In MSDN is written that this function can be used to load image from BMP, WMF, ICO and etc. Nothing is written about JPEG.
But something strange happens.
This is my code sequence.
I have a full path to a file. How to determine the name of the file without the extension (and also without the path) by means of WINAPI functions library???
Yes, thanx. I just wanted to be sure in the meaning of the return code.
But the function that I am using is RegQueryValueEx, but I think it doesn't matter in this case.
No, I want to query it's value, but the returned result is ERROR_FILE_NOT_FOUND.
Does this returned result mean that the key doesn't exist in this context???
I've just read an MSDN article about storing bitmap to a file!!!
This is it.
I changed CreateBitmapInfoStruct function
and added some parameters to it.
BitsPerPixel, Width and Height of the...
I've seen SE_IMPERSONATE_PRIVILEGE constant value in MSDN.
When I'm trying to use as a parameter in LookupPrivilegeValue, "undeclared identifier" error appears about the usage of this constant.
OK,...
Is that mean that if the programmer watches for correctness of types conversions, then the program, which was written using "C" conversion style, can be more effieciently, than one, which was written...