AutoHotkey Community

It is currently May 27th, 2012, 11:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 219 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15
Author Message
 Post subject:
PostPosted: April 25th, 2009, 3:49 am 
THANK YOU, Micha

all is working


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 25th, 2009, 3:29 pm 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
Micha wrote:
InitializeCriticalSection is needed for a control. There you can read the requirements for this command:
http://msdn.microsoft.com/en-us/library/ms683472(VS.85).aspx
Ciao
Micha
InitializeCriticalSection exists in my kernel32.dll. Do you really believe what they say on MSDN? If you look closely, you'll see the rare places where Win9x is mentioned are actually their "mistakes" and will be "fixed" soon (that is, removed).

FYI, I can compile and run many of the MFC demos posted at CodeProject; as an example: C++ Tooltip, GridControl, XMessageBox, Taskbar Notifier, XP Explorer Bar (that one uses .NET and can't compile it but it does run fine), Yuri Goltsman's ProgressCtrlX and others.

Nevermind...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2009, 10:34 am 
Hi Micha,
How can i creat Two Grid Control in One window?
i tried to do it, but the second Grid Control return 0
thanks :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 2:05 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
D Lo wrote:
Hi Micha,
How can i create Two Grid Control in One window?
i tried to do it, but the second Grid Control return 0
thanks :)

Hi, please download the zip file and try it again.
http://www.autohotkey.net/~Micha/CtrlSupport/AHKCtrlSupport.zip
The dll is compiled with Visual Studio 2008.
The grid control has to be registered. Before registering the dll checks if the control is already registered but the call returns "no". So it tries to register the control and it doesn't work. So I have exited the function. I've just changed the check and I can create 2 grids in one gui now.
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 18th, 2009, 7:56 pm 
Offline

Joined: July 18th, 2009, 7:25 pm
Posts: 3
Location: Kamloops, BC, Canada
Titan wrote:
You posted seconds after I did, don't forget my message :)


This message from Titan was posted back in 2006. I am getting this "exit error" myself. I am running WinXP Pro SP2. I get this error using any of the demo scripts *except* GridCtrlSupport.ahk... see below for details

I have read thru all 15 pages of this thread, reloaded all of the various dll's and scripts (few times), installed, un-installed, re-installed VCredist_x86 a couple of times, re-booted, tried all files on a Windows 2003 server platform...no matter what I do .. all the scripts *run* fine but when I go to exit I get:

error while calling UnInit ErrorLevel: 0xc0000005 - RC:

no return code and the demo MUST be killed by Task Manager. An IMPORTANT (I think) twist is that the GridCtrlSupport.ahk works PERFECTLY.. no errors on exit.

The fact that it happens on two different platforms means either I goofed the same way on both or there is a common problem.

I really would like to employ some of this functionality and I admit that I haven't taken the code apart to see if I can use some of the functionalty...I'd (obviously) like to have it ALL!

I know you mentioned (a couple times thoroughout the thread) that this may be related to HTML functions. Although I would probably need them eventually, for the time being I can do without. Therefore, what are the functions I should "avoid" to prevent invoking these components?

I'd REALLY appreciate your help on this .. it is a brilliant piece of work and I hope I can get the FULL functionality working!

doug


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 19th, 2009, 9:47 am 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Hi dougr,
thanks for reporting. Please download the zip again. I've found an error and fixed it.
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 19th, 2009, 5:14 pm 
Offline

Joined: July 18th, 2009, 7:25 pm
Posts: 3
Location: Kamloops, BC, Canada
Micha wrote:
Hi dougr,
thanks for reporting. Please download the zip again. I've found an error and fixed it.
Ciao
Micha


WONDERFUL!!!.. WORKS FINE...

Now to develop the next KILLER APP!

Cheers
Doug


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2011, 6:56 am 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
any ahk_l version of this? I know it is an old thread, but still works well with ahk basic.

Edit: Nevermind, got HTMLEdit_CtrlSupport.ahk working with a quick-fix.
Step 1: replaced ",\s?str\s?," with ", mStr," (regex)
Step 2: added this to the top of the script
Code:
;added by shajul for AHK_L unicode support
mStr := A_IsUnicode ? "AStr" : "str"
Dword := "UInt"


Now works with both AHK Basic and AHK_L Unicode x86. May need more modifications for x64 though.

Thanks Micha for this wonderful work.

Documentation for HTMLEdit_CtrlSupport is at http://www.autohotkey.net/~Micha/CtrlSu ... tctrl.html

_________________
If i've seen further it is by standing on the shoulders of giants

my site | ~shajul | WYSIWYG BBCode Editor


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2012, 7:50 pm 
Offline

Joined: October 11th, 2010, 12:30 pm
Posts: 406
Old thread but it's a bunch of useful scripts. TestCtrlSupport.ahk crashes on my Win7 32 bit system, I think DLL needs to be recompiled, is there any solutions for it? And Shajul, would you please upload your AHK_L version? AHK users would enjoy it. Thanks.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 219 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], nomissenrojb, Rajat and 54 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group