Search:
Type: Posts; User: Don Guy
Search:
Search took 0.03 seconds.
-
April 14th, 2014, 10:39 AM
I got this working in 2 different ways.
1. Do a put_innerHTML to place CSS & HTML, then call execScript and pass the JavaScript. After this it's possible to get the script run as the script is...
-
April 11th, 2014, 09:51 AM
I am trying to pass the script from C++ code to the HTML page. Do you have any sample code that does that?
I see that createElement and appendChild are generally used in JavaScript code. Can i do...
-
April 10th, 2014, 04:59 PM
When i look at the browser source after calling the put_innerHTML() function, it still shows the old content, but actually the browser display get's updated with newer content. For some reason the...
-
April 10th, 2014, 02:31 PM
I saved the html after doing a put_innerHTML() function call and found that everything's there. If i save that to another html file and open in my browser, then it works correctly.
Not sure...
-
April 10th, 2014, 12:58 PM
Trying out a few things using the "put_innerHTML(BSTR)" function, i figured that CSS & HTML works fine.
But for some reason the JavaScript function doesn't work. It gives an error saying the JS...
-
April 10th, 2014, 11:04 AM
Hello Igor,
I just played around with your code a little bit and figured that by using "put_innerHTML(BSTR)" i can update the entire content of a html page.
Is that an efficient way of doing...
-
April 10th, 2014, 09:51 AM
Currently my CDHtmlDialog application (client) has a html file compiled into it as a resource. This html has bunch of CSS, JavaScript and HTML tags in it.
Now during run time of the application i...
-
April 9th, 2014, 04:32 PM
Hello there,
I am using CDHtmlDialog in my MFC application to create a UI with HTML, CSS & JavaScript.
In my project there's one dialog created from CDHtmlDialog and a corresponding HTML file...
-
March 13th, 2014, 12:20 PM
Hey there,
I am writing an software that should be able to detect all keyboard inputs by the user. i.e., both hardware and software/on-screen keyboard.
This software is going to be written in...
-
February 28th, 2014, 03:42 PM
Hello there,
I have a MFC app developed in VS 2012. Inside couple of worker threads it's constantly doing bunch of things.
Now if i start the app and then open the Task Manager and look at...
-
February 27th, 2014, 07:42 PM
Hey there,
I have a MFC app that has a CDHtmlDialog embedded in it. During run time i update the HTML content from the C++ code. There's a IMAGE tag in the content and the SRC for the tag is...
-
February 21st, 2014, 03:29 PM
Hello there,
I have a CDHtmlDialog app in which am trying to add a CSS media query in the HTML file as shown below, but it doesn't work.
@media (max-width:20em) {
...
-
February 5th, 2014, 06:19 PM
Hey there,
I have a C++ app that uses OpenCV. Currently i am statically linking the OpenCV libs into my app. This is adding an extra overhead of 6+ MB.
Ideally i would like to remove some of...
-
February 3rd, 2014, 06:44 PM
I have an application that randomly displays images on a screen. There's a capture button, and when user clicks on that button, the image that is currently displayed is stored into a buffer.
User...
-
January 29th, 2014, 08:01 PM
Hey there,
I want to make a MFC app that will capture 6 frames per second from the webcam connected to the PC. And i want to get the frames as imageData, i.e., as bitmap or PNG. The idea is to get...
-
January 22nd, 2014, 06:38 PM
Hey there,
I have a MFC app that uses CDHtmlDialog class. It supports most of the HTML tags, but not the CANVAS tag. If am right, IE 9+ only have support for Canvas tag.
Which version of IE...
-
January 12th, 2014, 02:06 AM
The reason why i want to get the BITMAP Info structure in a unsigned char pointer is because i want to convert that into a base64 encoded string.
So it's not about converting a structure into a...
-
January 10th, 2014, 01:44 PM
Hey there,
I have a bitmap header information in the struct
typedef struct tagBITMAPINFO {
BITMAPINFOHEADER bmiHeader;
RGBQUAD bmiColors[1];
} BITMAPINFO
The total size of this is 1080.
-
December 27th, 2013, 10:23 AM
The ultimate goal is protection itself.
-
December 26th, 2013, 06:53 PM
Hello there,
I am working on a Windows application using Visual Studio 2012. One of the screens have a text entry field for the user. Instead of using a standard text field control, am placing a...
-
December 24th, 2013, 07:04 PM
I got this resolved.
DISP_FUNCTION(CHtmlClientUIDlg, "ProcessEvents", ProcessEvents, VT_EMPTY, VTS_BSTR VTS_BSTR)
-
December 24th, 2013, 06:29 PM
Another Question: :)
Is it possible to call a C++ function with 2 arguments from JavaScript. For some reason i get a JS error saying "Wrong number of arguments or invalid property assignment."...
-
December 24th, 2013, 10:37 AM
I changed LPCSTR to LPCTSTR and it worked. THanks
-
December 22nd, 2013, 12:34 PM
The C++ code is UNICODE.
Regarding JavaScript, i am pretty new to that don't know how strings work in that. So all am doing is hard coding a string like "user_entry".
While looking to MSDN the...
-
December 21st, 2013, 08:07 PM
So how to pass a string from JS to C++ function? What changes i need to make?
Thanks
|
Click Here to Expand Forum to Full Width
|