Recommended Web Browsers

There are a few web browsers, which could be of interest. Web browsers such as Internet Explorer, Firefox, Opera, and Safari are recommended web browsers.

Undoubtedly, Internet Explorer is one of the most popular Web browsers. It is a recommended web browser, because it always has good support. More recent versions, such as Internet Explorer eight, have certainly enhanced the web browser relative to alternatives.

Internet Explorer has tabbed browsing. This allows for multiple pages in the web browser. Internet Explorer also has more plug-ins and now includes a search box, which is a good addition. However, it should be noted that Macs do not support the browser.

As such, for some Mozilla Firefox is the browser to have. It has emerged as such, thanks to a number of options and features. For example, tabbed browsing and add-ons that makes it a more flexible browser. Like Internet Explorer it has a search box included. The browser includes a few templates, or themes. There is also a full screen mode included. The Firefox browser can also be customized in a few ways, with icons added to the tool-bar. So overall, it is a good web browser.

As stated, the Apple Mac does not support the more recent Internet Explorer web browsers. So, for the Mac there is one browser, which is recommended. The Safari web browser is one that is best suited for Macs. However, it is also available for Windows.

Overall, the Safari browser supports tabbed browsing. In addition to this, the browser has feed reading. The browser is also recommended as a speedier browser, relative to other alternatives. So, the Safari web browser is worth considering esp. for the Apple.

The browser of Opera is an alternative web browser that is also recommended. Admittedly, somewhat overshadowed by some web browsers, it is overlooked. This is a fast browser, which shows its pedigree. The most recent version Opera 9.6 has some innovative features.

For example the browser includes widgets, which can be added to the browser. Page content can also be more condensed, so that it better fits the page. In addition, like other alternatives the browser also has page tabs, which is less original. Visit www.Opera.com for more details on the Opera web browser.

So overall, these are recommended web browsers. With good features, options and support the browsers are available as freeware. For further details on these web browsers, the supporting web-sites such as http://www.opera.com are ideal.

Written by Matthew Adams
Freelance writer

Comments Off

Most Popular IPhone Apps.

The IPhone seems to be weathering the Android intrusion into the smart phone market, and nobody could be happier than Apple enthusiasts.  With new and exciting smart phone and tablet PC improvements and upgrades hitting the store shelves seemingly weekly, the IPhone has stayed true to it’s customers, and improves upon itself by way of making newer and better applications (apps), that in turn make the smart phone do almost miraculous things.  But, what are the best IPhone apps on the market?

The best IPhone apps on the market are basically the ones that make your life easier, from work to running a household, sports to news and movies, and traveling aids like GPS, mapping and traveling apps.  There are cooking apps, with video, audio or text recipes and instructions, and apps that make connecting with other people easier, more fun and interactive.  However, the best IPhone apps, as of mid-January, 2010, are based upon the number of downloads.

The Best IPhone apps include, but in no way are limited to;
\ itunes, quicktime, safari, work, mozilla
1)    ITunes.  The top download for the IPhone is the ITunes app.  With more and more artists signing up, and record labels seeing the new wave of marketing and sales, ITunes has increased the number of artists and songs incrementally in the past few years.  The ease of use, and the origin-based relationship between the IPhone and Itunes (owned by the same company) ensures for trouble-free and quick downloads.

2)    Quicktime.  Coming in second in downloads for the IPhone is the Quicktime media player.  With files compressed more than ever before, allowing for a much quicker download and playing time, Quicktime is the new standard for media playback on laptops and smart phones.

3)    Safari.  The third most popular app for the IPhone is the Safari Browser for 3G network smart phones, particularly the IPhone 3GS.  With 3D capability, super-fast browsing speed that surpasses most laptops when used with the 3G network, over the 2.2.1 operating system (OS) version.  You can have multiple pages open at once, and switch between them using the touch screen, or keyboard.  Google Maps can be used with the IPhone using Safari, for location-based web browsing.  The options are too many to mention, but Safari is a great, new, third-party produced web-browsing app that is revolutionizing web access through a 3G smart phone.

4)    Home And Work.  Home and Work is a great little app that allows you to organize your life, both at work and at home.  Without needing any personalization or setting up, it is ready to work for you as soon as it is downloaded.  Home and Work gives you the immediate ability to organize your life.  Shopping lists, with links to nearby stores that have the same products you are looking for, with associated prices.  Tap a contact’s name in your phone’s contact list, and instant connection is made, no need to go through the dial process.  Every aspect of home and work can be itinerated and changes can be made on the fly.

5)    Mozzila.  Mozilla FireFox for IPhone is pretty much the same as the award-winning Mozilla web browser for computers.  For those of you who use Mozilla at home, using it on your smart phone really makes sense, as your Favourites and History are included.

Choosing five, ten or even twenty of the top apps for the IPhone is a task that would bring about hundred different results when written by a hundred different people.  Basically, the best apps are the ones that make your life easier, more controllable, and make your IPhone easier to use.

However, before downloading any apps, check to see if there are any costs involved.  If there are, and you do not want to pay for an app to use your smart phone, there are similar apps out there for free that will do pretty much the same thing as the app that you are hoping to get.

Shop smart.  Shop informed.

Related Apple Safari Articles

Comments Off

Apple iPad 2 Reinvents the Popular Apple Tablet

The original iPad was a game changer. It created a whole market where none had previously existed and where many people had imagined there would be no real consumer demand. While touchscreen tablets did to many initially seem like little more than a gimmick or a fad, there have since been several million sales of the iPad and competing devices with touchscreen tablets quickly being viewed as an essential electronic device by many.

Despite being launched almost a year ago none of the iPad’s competitors have superseded it in terms of sales, and the iPad still remains the most popular tablet on offer. Apple recently launched its sequel tablet which they hope will cement their place at the top of the market that they helped to create. At the iPad 2 unveiling, in time honoured fashion Apple was keen to point out their technological superiority in this field and boast that its competitors were not even close to matching their prowess.

Except, while this was true for the original iPad it is less true now with many of the iPad 2′s improvements being features that have already been implemented on rival devices.

One such feature is dual core processing, which is becoming the standard processing ability for tablets and smartphones alike. The iPad runs on a dual core 1GHz ARM Cortex A9 processor with an undisclosed amount of RAM. It also features hardware acceleration and an accelerometer, as well as an all new gyro sensor made popular on the iPhone 4. All these can be combined to produce some very interesting and innovative touchscreen games on the iPad 2.

Many people had speculated before the unveiling as to whether Apple would be able to implement its high quality Retina Display on to the iPad 2, but it seems that the technology for this is not quite available just yet. The iPad 2 however, does feature a very high quality 9.7″ LED-backlit IPS TFT screen with a high screen resolution of 768 x 1024.

There are a few different versions of the iPad on offer, with a Wi-Fi only version as well as a Wi-Fi and 3G version up for grabs. On top of this there are a number of different options available when it comes to internal storage capacity, with either 16GB, 32GB or 64GB but unfortunately no microSD memory expansion.

Apple has stayed true to its form with excellent apps and games on offer. These are further enhanced by the inclusion of the new gyro sensor. The iPad 2 comes with excellent web browsing through Safari web browser and due to popular demand it now features two cameras. The rear facing 0.7 megapixel camera comes with 720p video recording and the VGA front facing camera can be used for video calling with FaceTime.

The iPad 2 offers some significant improvements over the original, with the inclusion of cameras and increased processing speed. However, despite Apples claims it seems that the latest iPad does not beat its competition quite as easily as the original, with many Android tablets starting to surpass the best that Apple has to hand.

Mobile phone comparison websites can be a great way to save money on Apple iPad 2 deals, as they help you to find the best one. You can also find good deals for Apple iPhone deals

 

Find More Apple Safari Articles

Comments Off

Apple iPad : The Most Enticing Gadget From Apple

Apple iPad is one best gadgets from the Apple family which comes with some enticing features which can mesmerize any mobile phone freak. This gadget comes with 9.7 inches LED-backbit IPS TFT capacitive touchscreen with an astounding picture resolution of 768 x 1024 pixels which supports 16M colors. It is also equipped with some latest techno features like Fingerprint/scratch resistant oleo-phobic surface, Accelerometer sensor for auto-rotate, Multi-touch input method for better control, Practically unlimited entries and fields. This gadget comes with an internal memory of 256 MB RAM along with 16/32/64 GB storage capacity.

This gizmo runs on iOS 4 backed up by 1 GHz Apple A4 processor along with several other functions like iBooks PDF reader, Google Maps, TV-out, Up to 10h movie playback, Down-loadable, incl. motion-based  games and many other interesting product features.

It also has several other functions like HTML (Safari) for browsing even supports other applications like Email, Push Email, IM and several other social networking applications. Almost all the leading service providers are offer several Apple iPad deals like Apple iPad contract deal etc. in which they are offering Cheap iPads.

Some of the renowned network providers like Virgin, Orange, O2, Three Mobile, T-Mobile etc. are offering various Apple iPad deals like Apple iPad contract deal, pay as you go deal, sim free deal and sim only deals in which they are offering Cheap iPad along with some exiting free gifts. Like in one of the deal Three mobile is offering 3 iPad Micro Sim 10GB for 1 months contract period only at £15 per month with benefits like free 10GB of Data Per Month along with free iPad with an effective monthly cost of £15. Similarly Orange is offering iPad Micro Sim Monthly 3GB for a 1 months contract period only at £15 per month with benefits like free 3GB Data Per Month along with a free iPad.

Derrick Jhonson is an expert author of Telecommunication industry and contributes his valuable thoughts for telecoms industry readers. Get Latest Updates On Cheap iPad and Other Offers iPad Deals in UK.

Find More Apple Safari Articles

Comments Off

African Safaris

Briefly continuing on the theme of last weeks blog, the strength of the Australian dollar against the US means there is no better time to schedule fantastic East Africa Safaris (the US dollar is the currency charged for travel & accommodation in East Africa) East Africa Safaris can aim to follow in the footsteps of Karen Blixen, or give you a 3D version of the Big Cat Diaries. In either event the favourable exchange rate has the effect of making all East Africa Safaris more affordable: so now is the time to set your plans in motion.

Of course, East Africa is not the only place where the currency of travel is the US dollar. It also applies in Botswana, rendered unique by the Okavango River which flows inland (rather than to the sea) and dissipates in the Kalahari Desert. This lends itself to African Safaris with a difference! Can you even begin to imagine your makoro slipping silently through a mantle of water-lillies as the papyrus sways with the gentle breeze at the bank. Indeed so beautiful and serene is it that I often recall the scene to feature in my regular meditations or creative visualisation exercises!

Since Botswana tends to be a relatively expensive destination, the budget conscious may want to consider the more affordable African Safaris destinations while still taking advantage of the favourable exchange rates. Zimbabwe is one such place where the US$ is also utilised as as a travellers currency. As well as being relatively affordable for African Safaris, Zim is a very versatile location. In addition to catering for the more traditional African Safaris, it has something exciting and different to cater to all tastes. While Victoria Falls is known for its spectacular waterfall which is world heritage listed, it is also known as one of the adventure capitals of Africa where you can abseil off the Victoria Falls bridge, plunge down the rapids of the mighty Zambezi in a white water raft or walk with lions. The less adventurous are also catered for with picturesque walkways, sunset cruises on the Zambezi or, one of my favourite activities, the flight of angels (ie a helicopter ride over the falls)

A few hours away from Victoria Falls by road lies Zimbabwes largest national park, Hwange which provides all that African Safaris could hope for, to which I can personally attest having visited there last November! A comfortable flight from Hwange can then take the holiday maker to a place which is really just a dot on the map, Bumi Hills. After a few minute transfer by barge, the unsuspecting traveller arrives in an idyllic haven called Musango, a place that keeps calling me back. Musango is a Safari camp situated on its own island in Lake Kariba, just off the shoreline of the Matusadona National Park. It boasts an abundance of wildlife from buffalo and elephants to the rare black rhino (African Safaris dont often offer the possibility of bumping into the black rhino). The Matusadona National Park is also an ornithologists paradise with a myriad of birds to be seen frequenting the birdbaths in front of the lodge and rooms. But it was the charm of the place that entranced me, from the little stone huts that house guests to the funny little metal birds dotted hither and thither to the broad sweeping vista from either the veranda of the reception area or the adjacent swimming pool. But I also loved the variety of activities offered, such as total relaxation at the camp, walking safaris, big 5 game drives, tracking of wild black rhino in the adjacent rhino sanctuary, village tours, canoeing, game cruises and tiger and tilapia fishing on Lake Kariba. Unfortunately our time was too limited to avail of many of the activities but I will never forget the wonderful afternoon hours spent drifting along in the barge on what I suppose one would call a game cruise this was definitely one of my more memorable African Safaris! I will be back!

As Horace said He who has begun has half done. Dare to be wise; begin now is the time to capitalise on the favourable exchange rate as it increases the affordability of African Safaris.

http://www.destinationsafrica.com.au/

Destinations Africa is a family run business that was formed through the desire of John Mitchell-Adams to share his love of Africa. John, his wife Hilary, along with their team of Tracey, Sandie, Faye, Craig and Kim are here to ensure your trip will be both exciting and memorable.

Click here for my latest Web Browser Battle including Opera : www.youtube.com If You Like What You See Go Ahead And Subscribe My Website : www.themactuber.tk Twitter : twitter.com Ustream : www.ustream.tv Facebook : www.facebook.com

More Apple Safari Articles

Comments Off

Your First Window

Getting to know Windows – Part 9
Volume – Windows User Interface

Introduction
This is part 9 of my series, Getting to know Windows. I assume you have read all the previous tutorials before this one. You should be reading the tutorials in the order given. In this part of the series, you create your first window.

Note: If you cannot see the code or if you think anything is missing (broken link, image absent), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.

Entry Point
The following is a C++ program for the console:

#include
using namespace std;

int main()
    {
        cout << “Hello World!”;

        return 0;
    }

The beginning of the main function is the entry point for the application; that is where the application starts. To compile this application with the g++ compiler you would type something like:

    g++ hello.cpp -o hello.exe

A windows application uses a different entry point function and not main. A windows application uses the entry function called, WinMain. The prototype is:

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);

The operating system normally supplies all the arguments for this WinMain function. hInstance is the window class instance handle we talked about in the previous parts of the series. The operating system supplies the actual value for you. The last statement in the WinMain is not “return 0″. It is,

    return msg.wParam;

where msg is the identifier of the message struct. Do not worry about this return statement for now.

Assume that the name of your windows application in C++ is, firstwin.cpp. For the g++ compiler, you would type the following command to compile the windows application:

    g++ firstwin.cpp -mwindows -o firstwin.exe

Note the use and position of the switch, -mwindows. This switch prevents the command prompt window from appearing when the application window appears.

Your First Window Application
I will give you code for your first window application. You will try it. I will explain the code in general terms below it. You will know the detail explanation in other series (divisions). Here is the code:

#include
using namespace std;

LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
 
    switch (uMsg)
    {
 
        default:
            return DefWindowProc(hwnd, uMsg, wParam, lParam);
    }

    return 0;
}

int WINAPI WinMain(HINSTANCE hinstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
    WNDCLASSEX wcx;

    wcx.cbSize = sizeof(wcx);
    wcx.style = CS_HREDRAW | CS_VREDRAW;                 
    wcx.lpfnWndProc = MainWndProc;  
    wcx.cbClsExtra = 0;             
    wcx.cbWndExtra = 0;             
    wcx.hInstance = hinstance;      
    wcx.hIcon = NULL;
    wcx.hCursor = LoadCursor(NULL, IDC_ARROW);               
    wcx.hbrBackground = (HBRUSH)(COLOR_BACKGROUND+1);             
    wcx.lpszMenuName =  NULL;
    wcx.lpszClassName = “MainWClass”;
    wcx.hIconSm = NULL;

    RegisterClassEx(&wcx);

    HWND hwndMain;
 
    hwndMain = CreateWindowEx(0, “MainWClass”, “Main Window”, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,

CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hinstance, NULL);                 
 
    if (!hwndMain)
        return FALSE;

    ShowWindow(hwndMain, SW_SHOW);
    UpdateWindow(hwndMain);

    MSG msg;
    BOOL bRet;

    while( (bRet = GetMessage( &msg, hwndMain, 0, 0 )) != 0)
        {
            if (bRet == -1)
            {
                // handle the error and possibly exit the application
            }
            else
            {
                TranslateMessage(&msg);
                DispatchMessage(&msg);
            }
        }

    return msg.wParam;
}

Type the application code in a text editor and save it as a file called, firstwin.cpp, in the MinGW directory. Open your command prompt window and go to the MinGW directory. Execute the following command:

    g++ firstwin.cpp -mwindows -o firstwin.exe

The compiled file should be saved as, firstwin.exe, in the MinGW directory. Open the MinGW directory now with Windows. Double-click the file, firstwin.exe. You should see a window (whose client area is dark blue).

Generalized Code Explanation
You need to include the header file, windows.h. This file contains the headers for your windows. In the code you have the window class procedure, whose name has been given by me. The block of this procedure does nothing other than call the default procedure. You then have the main function. It begins with the declaration of an identifier for the window class struct. The name of the procedure is assigned to one of the members of the class struct. The name of the class has been given by me as “MainWClass”.

The value of the class instance handle is hinstance, got from the first parameter of the WinMain function. As I said, the operating system supplies the actual value through the WinMain function when it calls the WinMain function. It is the operating system that calls the WinMain function. Do not worry what the other members of the window class WNDCLASSEX struct are doing for now.

Next, the window is created, shown and updated. Then you have the while loop to remove messages from the queue and send to the window class procedure. You will get the detail explanation in other series.

The WinMain has the duty to register the class, create the main window and house the message WHILE Loop.

After reading this tutorial, you can begin the next series called, Window Classes. Just search my blog with the title, Window Classes, to arrive at the series.

The Windows API Volumes
Those of us who write (publish) for the Internet, write for money. We get our earnings through the advertisements you see on our web pages like this one. So please, do click the advertisements on my pages to know what my partners are advertising. In that way they pay me on your behalf, for advertising their products. If you do not click the advertisements of the Internet articles, they will not pay us. I know you are getting the stuff free, but do click the advertisements to enable us continue to write. Thanks.

Well, let us take a break here and continue in the next part of the series.

Chrys

To arrive at any of the parts of this series, just type the corresponding title below in the Search Box of this page and click Search (use menu if available):

Getting to know Windows
What is a Microsoft Window?
Basics of Window Classes
Window Procedure Basics
Message Basics for Window Class Procedure
Basics of Message Handling in Windows
Creating Window Basics
Basic Coding of Window Class Procedure
Your first Window

Written by Chrys

Related Windows 7 Articles

Comments Off

Basic Coding of Window Class Procedure

Getting to know Windows – Part 8
Volume – Windows User Interface

Introduction
This is part 8 of my series, Getting to know Windows. I assume you have read all the previous tutorials before this one. You should be reading the tutorials in the order given. In this part of the series we look at basic coding of window class procedure.

Note: If you cannot see the code or if you think anything is missing (broken link, image absent), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.

Structure of the Window Class Procedure
The window class procedure takes four parameters and returns a single value. The set of four parameters is the message from the system queue. We have talked about this before. The body of the procedure uses a switch construct like that for C++. You can have nested switch constructs.

A Typical Window Procedure
The following is a typical window procedure code:

LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
 
    switch (uMsg)
    {
        case WM_CREATE:
            // Initialize the window.
            return 0;
 
        case WM_PAINT:
            // Paint the window’s client area.
            return 0;
 
        case WM_CLOSE:
            // Finalize.
            return 0;
 
        case WM_DESTROY:
            // Clean up window-specific data objects.
            return 0;
 
        //
        // Process other messages.
        //
 
        default:
            return DefWindowProc(hwnd, uMsg, wParam, lParam);
    }
    return 0;
}

Each CASE block has one or more statements. Everything being equal, the last statement should be “return 0″. For the CASES above the message is received by the uMsg parameter. The parts of the message in the wParam and lParam parameters are not important for us now (assume that).

The WM_CREATE message is sent to the procedure just after your window is created. For this CASE in the procedure, you can do some initializing of the window, such as writing some initial text on the window. We shall see details later. Read the above procedure code if you have not already done so.

From the previous part of the series, remember that after you create the window you call the UpdateWindow function for painting the window’s client area. This function sends the WM_PAINT message to the system queue. The message quickly arrives in the procedure (sent by the WHILE Loop). The statements you type for the CASE WM_PAINT in the procedure should paint the window. We shall see details later. I hope you are now appreciating Windows User Interface coding.

When you click the Close button of a window, the WM_CLOSE message is sent to the queue by the window. From the queue it is quickly sent to the procedure (by the WHILE Loop). The statements for the CASE WM_CLOSE should finalize the application. You must have clicked the Close button of certain application windows and a small window pops up asking you if you really want to close (exit) the application. You can click Yes or No in the pop up window. It is in this CASE in the procedure that you code such a thing.

When the Close button of a window is clicked, the WM_CLOSE message arrives to the procedure. Everything being equal, the WM_DESTROY message arrives shortly after. The WM_CLOSE does not destroy the window. It is the statements for the CASE WM_DESTROY that remove the window from the screen and free all the recourses that the window was using. If you do not provide statements for this CASE, the default behavior will be used.

In the switch construct above, there is a default CASE. This default case has just one statement, which calls and returns the result of the default procedure, DefWindowProc, using the arguments received by the procedure.

If there is no CASE code in the procedure, then the DefWindowProc procedure processes all the messages, with default behaviors. You would not like some of the results. So you should do some processing for some CASES; we shall see details later.

Everything being equal, the procedure should return zero. That is why you have “return 0;” at the end, after the switch construct.

Note: The procedure can still send a message to the system queue. The message will finally come back to the procedure to be handled by a different CASE.

The Windows API Volumes
Those of us who write (publish) for the Internet, write for money. We get our earnings through the advertisements you see on our web pages like this one. So please, do click the advertisements on my pages to know what my partners are advertising. In that way they pay me on your behalf, for advertising their products. If you do not click the advertisements of the Internet articles, they will not pay us. I know you are getting the stuff free, but do click the advertisements to enable us continue to write. Thanks.

We have seen much in this part of the series. Let us take a break now and continue in the next part.

Chrys

To arrive at any of the parts of this series, just type the corresponding title below in the Search Box of this page and click Search (use menu if available):

Getting to know Windows
What is a Microsoft Window?
Basics of Window Classes
Window Procedure Basics
Message Basics for Window Class Procedure
Basics of Message Handling in Windows
Creating Window Basics
Basic Coding of Window Class Procedure
Your first Window
 

Written by Chrys

Find More Windows 7 Articles

Comments Off

Window Procedure Basics

Getting to know Windows – Part 4
Volume – Windows User Interface

Introduction
This is part 4 of my series, Getting to know Windows. I assume that you have read all the previous tutorials before this one. You should be reading the tutorials in the order given. In this part of the series we look at window Procedure Basics.

Note: If you cannot see the code or if you think anything is missing (broken link, image absent), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.

What is a Procedure?
We saw in the previous part of the series that a class is a set of characteristics (attributes) for a window. Many windows can have the same set of characteristics. This means many windows can belong to the same class. A procedure belongs to a class and many windows if they are of the same class.

At this point, you should know what is called a function in a high-level language like C++. A function has parameters and has a return value. Here, a procedure has four parameters and one returned value. When messages are sent to a window it is the procedure that processes the messages, and then the result takes effect at the window.

Procedure Prototype
A prototype is a function declaration, showing the function parameters, preceded by the returned value and ending with a semicolon. The procedure prototype is:

LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);

So many things look strange here. Let me simplify them. You will have full details later. I said in the previous part of the series that Windows API is a language that you have to learn. In the parentheses for the parameters, hwnd is a data identifier and HWND is the corresponding data type; uMsg is a data identifier and UINT is the data type; wParam is a data identifier and WPARAM is the data type; lParam is a data identifier and LPARAM is the data type. LRESULT is the returned type for the procedure. CALLBACK is a modifier for LRESULT; so you can say LRESULT CALLBACK forms the returned type.

Each window has a handle (pointer), which you (your code) can use to do something on the window. HWND is the data type for a windows handle.

A message comes in the form of integers (not a string). An integer in the message has a meaning, which can be expressed as text (a string). The second parameter data type, UINT, means Unsigned (positive) Integer. It identifies the message. The core message itself comes as the WPARAM parameter and as the LPARAM parameter. WPARAM is an integer and LPARAM is also an integer. We shall see details of these later. For now know that the last three parameters in the parentheses contain the message in integers. While the core message is in the WPARAM and LPARAM data type parameters, UINT identifies the core message. The values of WPARAM and LPARAM depend on the value of UINT.

LRESULT is a singed (positive or negative) number. This return value is the result of the message processing and depends on the message received by the procedure.

You have to write code in the block of the procedure that will process the message received. We shall see the details later.

Default Window Procedure
The windows operating system has a default procedure called, DefWindowProc. This default procedure defines certain fundamental behavior shared by all windows. The default window procedure provides the minimal functionality for a window. An application-defined window procedure (like the one we talk above) should pass any messages that it does not process to the DefWindowProc procedure for default processing.

What you need to remember from all what has been said above is that the application provides a procedure for the class of windows and this procedure should call the default procedure for what you should not waste your time coding, since the default procedure has already done the coding for you.

The Windows API Volumes
These volumes I am writing are the first of their kind. You will find the same information (and even more) in the Microsoft web site. However, the information there has been written for experienced programmers like us; not for people who are learning programming (novice). Know that even experts do not find it easy to understand the information in that web site. What you will see in that web site are not tutorials. What you have in these volumes, are tutorials, which you have free.

Those of us who write (publish) for the Internet, write for money. We get our earnings through the advertisements you see on our web pages like this one. So please, do click the advertisements on my pages to know what my partners are advertising. In that way they pay me on your behalf, for advertising their products. If you do not click the advertisements of the Internet articles, they will not pay us. I know you are getting the stuff free, but do click the advertisements to enable us continue to write. Thanks.

We are at the end of this part of the series. You want to see coding? Just be patient; we are gradually coming to that. Windows API (User Interface) is not a straightforward thing to learn. That is why I title this series (division), “Getting to know Windows”. Many people have tried to learn Windows API and have not succeeded because it is not straightforward. The User Interface has many new principles to learn first. After that you combine them and then you can move in different directions. That is why I have the different divisions (series) of which, this is the first everybody should go through. So just be patient; we shall soon get there, methodically.

We continue in the next part of the series.

Chrys

To arrive at any of the parts of this series, just type the corresponding title below in the Search Box of this page and click Search (use menu if available):

Getting to know Windows
What is a Microsoft Window?
Basics of Window Classes
Window Procedure Basics
Message Basics for Window Class Procedure
Basics of Message Handling in Windows
Creating Window Basics
Basic Coding of Window Class Procedure
Your first Window
 

Written by Chrys

Comments Off

JavaScript v.3-10x Faster On iPhone OS 3.0

There has been a reasonable amount of speculation surrounding JavaScript speed improvements in iPhone 3.0. Testing carried out on the iPhone Simulator bundled with the SDK didn’t lead to a conclusive outcome, but benchmarking done by Wayne Pan would seem to suggest that iPhone 3.0 handles JavaScript 3x-10x faster than iPhone 2.1.

Last year the WebKit development team released information about a new JavaScript engine, slated to have a dramatic improvement in performance. Originally dubbed SquirrelFish (now called ‘Nitro’), to date it has not been included in any major release of the iPhone OS. Expectations are that the performance enhancements found in iPhone 3.0 are due to the inclusion of the SquirrelFish engine, leading to faster web site browsing and snappier web app performance.

The new Nitro engine has gradually been improved by the WebKit team over the past year, and is included in the latest Safari 4 Beta. This new engine accounts for the dramatic performance improvement in Safari 4, which Apple states as enhancing both JavaScript and HTML rendering:

Using the new Nitro Engine, for example, Safari executes JavaScript up to 30 times faster than Internet Explorer 7 and more than 3 times faster than Firefox 3 based on performance in leading industry benchmark tests: iBench and SunSpider.

In addition to superior JavaScript performance, Safari offers top-flight HTML performance — the best on any platform — loading pages 3 times faster than Internet Explorer 7 and almost 3 times faster than Firefox 3.

While Nitro is certainly responsible for the improved JavaScript performance, better HTML loading times may be due to other browser enhancements. Hopefully these will also make the move to Mobile Safari, increasing performance and page loading speed. This is even more important on a mobile device, where connection speed is far more limited than on most desktop machines.

Moving this new engine across to Mobile Safari on the iPhone is indeed the next logical step, and the 3.0 release of Apple’s iPhone operating system would seem a reasonable point at which to integrate it. John Gruber created a simple script to test whether a browser is likely to be running the Nitro engine — this tests positive in Safari 4, and he confirmed yesterday that the test is also passed on the iPhone 3.0.

All these pieces of an ongoing puzzle would seem to lead to a fairly strong conclusion that Mobile Safari on iPhone 3.0 will receive a completely new JavaScript engine, significant speed improvements, and better web application performance. I’m thoroughly looking forward to experiencing the same speed boost on my iPhone that Safari 4 brought to my desktop, and can’t wait to try out the new software.

Written by Tsanko

Comments Off

Google Chrome 5 – The Best Security Internet Browser

It seems lately that with all the options you have in web browsers, Google’s Chrome 5 seems to stand far above the rest.  This is especially true when it comes to cruising the web securely.  We will take a look at Google’s Chrome 5 browser and make some basic comparisons to other web browsers and their security.  Microsoft’s Internet Explorer 8, Firefox 3.6, Apple’s Safari 5, and Opera 10.6 will be those browsers we will test with Google’s Chrome 5.

Comparing Browser Security of Microsoft’s Internet Explorer and Google’s Chrome 5

For those who may not know, Microsoft’s Internet Explorer is currently the market leader in web browsers.  Those familiar with the Internet Explorer browser interface know that it can be a cluttered page.  The browser is setup with tabs to help the user navigate and organize their web searching.  Microsoft’s Internet Explorer has been plagued in recent history as a browser with a reputation for bad security.  However, this recent version of the browser has enhanced its security.  IE 8 gives you a darker text color when you visit a legitimate website, lighter colors for possible fake pages or phishing sites.  IE 8 has also added cross-site scripting to minimize the threats of cyber-attacks. 

Comparing Browser Security of Firefox 3.6 and Google’s Chrome 5

Firefox 3.6 has updated their security to include automatic updates.  In fact, whenever an update is installed Firefox looks to see if any of your plug-ins need updates as well.  Most browsers will run these updates like Firefox except that it has been reported that only Firefox seems to find them correctly.  Firefox also provides identity information in a box near the address bar to give you the option to find more details on a site before clicking.

Comparing Browser Security of Apple’s Safari 5 and Google’s Chrome 5

As a standard browser goes, Safari 5 handles most security like phishing pretty well.  What sets it above the others is the reset function that handles cookies security.  Most browsers are set to either enabling or disabling cookies for everything.  On Safari 5, you can set cookies to enable or disable for the sites you visit even on the same page.  This will also allow you to accept cookies from a site and not from their advertisers on that site.

Comparing Browser Security of Opera 10.6 and Google’s Chrome 5

Opera uses color-coding to inform you whether a site is encrypted or not and gives you a heads up if there is a problem.  It will also inform you if it has been flagged as fraudulent.  Opera 10.6 is much like Safari 5 in that you can enable or disable cookies from site to site. 

Why Chrome 5 is a Better Security Browser

So, what is it that makes Google’s Chrome 5 a better browser when it comes to security?  The main difference is that Chrome 5 takes a different approach to browsing sites.  It has come up with a way to “sandbox” web pages that you visit.  If a web site you visit is corrupt, hijacked, or a scam site, Chrome 5 will sandbox the site and prevent malware from attacking your computer and accessing your files.  It segregates and keeps it from the rest of your system and therefore protects you from intrusion.  This alone gives Google’s Chrome 5 the best marks when it comes to browser security.     

Written by MikeBurnside
Creator and writer for Unravelingmysteries.com a lifestyles website.

Related Apple Safari Articles

Comments Off