 |
|
 |
Here is a small snippet:
private ToolStripButton н¨NToolStripButton; private ToolStripButton ´ò¿ªOToolStripButton; private ToolStripButton ±£´æSToolStripButton; private ToolStripButton ´òÓ¡PToolStripButton; private ToolStripSeparator toolStripSeparator; private ToolStripButton ¼ôÇÐUToolStripButton; private ToolStripButton ¸´ÖÆCToolStripButton; private ToolStripButton Õ³ÌùPToolStripButton; private ToolStripSeparator toolStripSeparator1; private ToolStripButton °ïÖúLToolStripButton; private TextBox textBox3; private MenuStrip menuStrip1; private ToolStripMenuItem ÎļþFToolStripMenuItem; private ToolStripMenuItem н¨NToolStripMenuItem; private ToolStripMenuItem ´ò¿ªOToolStripMenuItem; private ToolStripSeparator toolStripSeparator2; private ToolStripMenuItem ±£´æSToolStripMenuItem; private ToolStripMenuItem Áí´æÎªAToolStripMenuItem; private ToolStripSeparator toolStripSeparator3; private ToolStripMenuItem ´òÓ¡PToolStripMenuItem; private ToolStripMenuItem ´òÓ¡Ô¤ÀÀVToolStripMenuItem; private ToolStripSeparator toolStripSeparator4; private ToolStripMenuItem Í˳öXToolStripMenuItem; private ToolStripMenuItem ±à¼EToolStripMenuItem; private ToolStripMenuItem ³·ÏûUToolStripMenuItem; private ToolStripMenuItem ÖØ¸´RToolStripMenuItem; private ToolStripSeparator toolStripSeparator5; private ToolStripMenuItem ¼ôÇÐTToolStripMenuItem; private ToolStripMenuItem ¸´ÖÆCToolStripMenuItem; private ToolStripMenuItem Õ³ÌùPToolStripMenuItem; private ToolStripSeparator toolStripSeparator6; private ToolStripMenuItem ȫѡAToolStripMenuItem; private ToolStripMenuItem ¹¤¾ßTToolStripMenuItem; private ToolStripMenuItem ×Ô¶¨ÒåCToolStripMenuItem; private ToolStripMenuItem Ñ¡ÏîOToolStripMenuItem; private ToolStripMenuItem °ïÖúHToolStripMenuItem; private ToolStripMenuItem ÄÚÈÝCToolStripMenuItem; private ToolStripMenuItem Ë÷ÒýIToolStripMenuItem; private ToolStripMenuItem ËÑË÷SToolStripMenuItem; private ToolStripSeparator toolStripSeparator7; private ToolStripMenuItem ¹ØÓÚAToolStripMenuItem; private StatusStrip statusStrip1; private ToolStripProgressBar toolStripProgressBar1; private ToolStripStatusLabel toolStripStatusLabel1; private ToolStripSplitButton toolStripSplitButton1; private ToolStripDropDownButton toolStripDropDownButton1; private ToolStripSplitButton toolStripSplitButton2; private System.Windows.Forms.StatusBarPanel statusBarPanel2; public Form1() { // // Windows ´°ÌåÉè¼ÆÆ÷Ö§³ÖËù±ØÐèµÄ // InitializeComponent();
// // TODO: ÔÚ InitializeComponent µ÷ÓúóÌí¼ÓÈκι¹Ô캯Êý´úÂë // }
/// /// ÇåÀíËùÓÐÕýÔÚʹÓõÄ×ÊÔ´¡£
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I dynamically create the menu and call ::SetMenu to attach menu to window. Then I call USkinGetMenu, it always return NULL. Any idea?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
if open menu on rebar use a short cut key, such as alt+F to open file menu, the menu will show on window title instead of the menu bar position!
Is that a bug? 
see your ToolBar.exe demo in your package, this bug can show there.
modified on Friday, September 18, 2009 10:09 PM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
hi your DLL is very good. but i have a few problem with that. my single form worked fine but my mdichild form control's (button,checkbox,radiobutton,progressbar, etc...) are not themed. i set that controls's Flatstyle to System. but didn't work. can you help me ?
Ottoman Empire Coming Soon...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I programmed in C# a dll injector application, that injects a .dll file into a process. The application works fine. I added the code for USkin, to provide a skin to my application.
The skin worked fine and was applied, to the application. But now, the injection of the dll does work properly. When i inject a dll using my application, it crashes the program that i am injecting into.
I tried removing the USkin code, and injected, and it works fine. If i add the Uskin code, with any skin, and then try to inject, the injector application works fine, but the program i inject the .dll into crashes.
Do you know why this happens ? Can you help me.
Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I can try dotnet version of Uskin. It runs well, but I have a trouble with Unicode application. I know that in this verion, unicode function is not support. I hope you can release next version with unicode. best rgds.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I use this Components in windowsserver2003 is Completely normal,but in Windows xp, It's can't run under the correct. What's wrong? help me.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Hi there,
Thank you for the good work...
I have added USkin to a VB 2008 app, in this app I use the SQL-CE 3.5 sp1 DB. When I lunch Dataset.Update(MyTable) the application will exit without any exception. But if the skin is disable it's work nice. Also the SqlCeEngine.Compact doesn't work.
Thanks
Roxdes
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I have some controls, which doesn't need to be skinned but i found no way to exclude them. some idea? Thanks!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I am calling my SDI application exe through other exe with switch '\t' . But in my application I am not able to get the switch. My code is:
CCommandLineInfo cmdInfo; AfxGetApp()->ParseCommandLine(cmdInfo); CString szString=cmdInfo.m_strFileName;
How could I get the switch '\t' when other exe called this exe.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|
 |
|
 |
hi,
i try to use it(V3.0 beta) with MFC Grid control 2.26,when the configuration is debug,error dispaly.but release will not. why? Please let me know how can I resolve the problem.
Thanks in advance!!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
您好:
久仰大名啊。希望能在百忙之中看下我的问题,谢谢了啊。。 问个问题。在同一个C#工程中。(注:USkinProf.dll是3.0的) 1.如果将工程如下设置:属性--调式--启用宿主进程(打勾),则我换肤的效果只能看到一部分,(停靠栏的位置都是正常的)。 2.如果将工程如下设置:属性--调式--启用宿主进程(不打勾),则我换肤的效果全部正确,(但是界面上有个停靠栏被盖住了一部分,这个是不是皮肤的原因)。
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
|
 |
|
 |
Hi there,
Firstly thank you for the good work...
I have added USkin to a C# windows forms app. Everything compiles and seems to work fine except that the styles only seem to be applied to windows forms such as OpenFileDialog. My main application window just has the standard windows style going on. How do I make USkin apply the style to the entire application?
How to use .theme files? They dont seem to have any effect.
Also, where would I find any documentation on USkin?
Thanks
Ashley
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
 |
Hi.you should change the Button/radio/Check/group's FlatStyle property to "System". #2.use .msstyles file. See the demo.
Working hard for shine life.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I made some progress by removing the line:
Application.EnableVisualStyles();
This line is added to a new C# windows forms project by the designer. After removing that it all looked a little more like it should.
Although I am still unsure on the use of .theme files.
My application uses Weifen Luo's dockong library which shows some drawing issues with custom styles so I have to work through that now...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi,
I have a similar effect: My application is a c# project which shows a main window. On button press I open further windows that are created over a COM mechanism. Some of the new windows are from projects also written in C#, others are written in VB6 btw. C++. The skinning is started before the first window opens.
Now the effect: On some machines, the skinning works in all windows like expected. But on some other machines only the VB6 and c++ dialogs get fully skinned - in the C# dialogs the window border is still the windows default luna.
Do you have any idea what could be the reason?
I've tried to find out what's the difference between the machines but found nothing helpful. But I can observe the same effect if I start the application in visual studio debugger: If I enable "unmanaged debugging" then all works fine, but when I debug without this option then all looks like described above.
Perhaps you can reproduce this with the debugger. Help ist apprecated. Thanks, Jan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The USkin developer acknowledged my problem and said they would fix it... I am not sure if it is the same as your problem. My one would draw extr title bars below the main window header. One problem I had was that I found it did not completely apply the styles if I did not comment out the EnableVisualStyles line added by the visual studio designer in the programs main function.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi! I've been experiencing very similar problems in my application. To validate that this library (USkin) was working, I had created a test application with almost all common control instatiated in my main form. This test application was working perfectly but my original application which I was tryihng to skin using USkin was still not working entirely. After spending hours trying to understand why would the test application work and not mine by trying to find all the difference my application had compared to the test one, I finally came to this conclusion: The call to USkinInit must be done before any other UI instances have been created. To solve the problem, I simply move the call to USkinInit so that it's one of the very first things I do. And it worked great!!!
I hope this will help others, Cheers! //JF
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Can you explain more i can't seem to get mine to skin after following all the suggestions - i am using 2005 and 2008. can you post code?
jberenguer
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Alpha window function test,bugs found,window's content not redraw,but solved method found,this week working on it.
Working hard for shine life.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
|
 |